diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-17 16:46:49 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-17 16:46:49 +0100 |
commit | 5e1113d8840dfb287a81527c4869b8d6a6c67f43 (patch) | |
tree | e3f377f3f16b571ae86fd6b3d3b1d3cfa80a43cf /src/control | |
parent | Merge branch 'lcs-dev' into lcs (diff) | |
download | re3-5e1113d8840dfb287a81527c4869b8d6a6c67f43.tar re3-5e1113d8840dfb287a81527c4869b8d6a6c67f43.tar.gz re3-5e1113d8840dfb287a81527c4869b8d6a6c67f43.tar.bz2 re3-5e1113d8840dfb287a81527c4869b8d6a6c67f43.tar.lz re3-5e1113d8840dfb287a81527c4869b8d6a6c67f43.tar.xz re3-5e1113d8840dfb287a81527c4869b8d6a6c67f43.tar.zst re3-5e1113d8840dfb287a81527c4869b8d6a6c67f43.zip |
Diffstat (limited to 'src/control')
-rw-r--r-- | src/control/Script5.cpp | 2 |
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; |