修复Memory类的错误
This commit is contained in:
@@ -38,8 +38,9 @@ static SQInteger PointerOperation(HSQUIRRELVM v)
|
||||
SQInteger Offset;
|
||||
sq_getinteger(v, 3, &Offset);
|
||||
|
||||
const SQChar *Type;
|
||||
sq_getstring(v, 4, &Type);
|
||||
const SQChar *TypecharBuf;
|
||||
sq_getstring(v, 4, &TypecharBuf);
|
||||
std::string Type(TypecharBuf);
|
||||
|
||||
if (Type == "+")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user