summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-18 20:20:27 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-18 20:20:27 +0100
commit14a1d3d2512973ac452a5b3d7070ce71f8d5b305 (patch)
treeb44ea7567bf173a5927fef105aa313b6df8ac6bc /src/control
parentscript full (diff)
parentMerge remote-tracking branch 'upstream/lcs' into lcs (diff)
downloadre3-14a1d3d2512973ac452a5b3d7070ce71f8d5b305.tar
re3-14a1d3d2512973ac452a5b3d7070ce71f8d5b305.tar.gz
re3-14a1d3d2512973ac452a5b3d7070ce71f8d5b305.tar.bz2
re3-14a1d3d2512973ac452a5b3d7070ce71f8d5b305.tar.lz
re3-14a1d3d2512973ac452a5b3d7070ce71f8d5b305.tar.xz
re3-14a1d3d2512973ac452a5b3d7070ce71f8d5b305.tar.zst
re3-14a1d3d2512973ac452a5b3d7070ce71f8d5b305.zip
Diffstat (limited to 'src/control')
-rw-r--r--src/control/Script5.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Script5.cpp b/src/control/Script5.cpp
index 65e85779..bddcac62 100644
--- a/src/control/Script5.cpp
+++ b/src/control/Script5.cpp
@@ -27,7 +27,7 @@ uint32 CRunningScript::CollectLocateParameters(uint32* pIp, bool b3D)
uint8 type = CTheScripts::Read1ByteFromScript(&ip);
if (type >= ARGUMENT_LOCAL) {
ip--;
- id = (uint32)GetPointerToScriptVariable(&ip, 0);
+ id = (uint32)(uintptr)GetPointerToScriptVariable(&ip, 0);
}
CollectParameters(pIp, b3D ? 7 : 5, &(ScriptParams[1]));
return id;