aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruniboi <64006268+uniboi@users.noreply.github.com>2023-01-11 19:29:11 +0000
committerGitHub <noreply@github.com>2023-01-11 19:29:11 +0000
commit8bddf5bfe83b52165c589b2dd5e544831a55231d (patch)
tree18851ede05145802210df6f829532874e4bae661
parentd4f90eafc91f83cca270e46164f435908dc94b9d (diff)
downloadNorthstarLauncher-8bddf5bfe83b52165c589b2dd5e544831a55231d.tar.gz
NorthstarLauncher-8bddf5bfe83b52165c589b2dd5e544831a55231d.zip
push vectors to stack correctly (#395)
push to stack correctly Co-authored-by: Maya <RoyalBlue1@users.noreply.github.com> Co-authored-by: Maya <RoyalBlue1@users.noreply.github.com>
-rw-r--r--NorthstarDLL/squirrel/squirrel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDLL/squirrel/squirrel.h b/NorthstarDLL/squirrel/squirrel.h
index 82825b3c..ce758d7c 100644
--- a/NorthstarDLL/squirrel/squirrel.h
+++ b/NorthstarDLL/squirrel/squirrel.h
@@ -181,7 +181,7 @@ class SquirrelManagerBase
inline void pushvector(HSquirrelVM* sqvm, const Vector3 pVal)
{
- __sq_pushvector(sqvm, *(float**)&pVal);
+ __sq_pushvector(sqvm, (float*)&pVal);
}
inline void pushobject(HSquirrelVM* sqvm, SQObject* obj)