diff options
Diffstat (limited to 'NorthstarDLL')
-rw-r--r-- | NorthstarDLL/squirrel/squirrel.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/NorthstarDLL/squirrel/squirrel.h b/NorthstarDLL/squirrel/squirrel.h index 5708c836..aa728fa5 100644 --- a/NorthstarDLL/squirrel/squirrel.h +++ b/NorthstarDLL/squirrel/squirrel.h @@ -216,8 +216,7 @@ class SquirrelManagerBase inline Vector3 getvector(HSquirrelVM* sqvm, const SQInteger stackpos) { - float* pRet = __sq_getvector(sqvm, stackpos); - return *(Vector3*)&pRet; + return *(Vector3*)__sq_getvector(sqvm, stackpos); } inline int sq_getfunction(HSquirrelVM* sqvm, const char* name, SQObject* returnObj, const char* signature) |