mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2025-01-11 03:44:08 +00:00
fix attempt
This commit is contained in:
parent
45f1c96ff2
commit
5e1113d884
|
@ -27,7 +27,7 @@ uint32 CRunningScript::CollectLocateParameters(uint32* pIp, bool b3D)
|
||||||
uint8 type = CTheScripts::Read1ByteFromScript(&ip);
|
uint8 type = CTheScripts::Read1ByteFromScript(&ip);
|
||||||
if (type >= ARGUMENT_LOCAL) {
|
if (type >= ARGUMENT_LOCAL) {
|
||||||
ip--;
|
ip--;
|
||||||
id = (uint32)GetPointerToScriptVariable(&ip, 0);
|
id = (uint32)(uintptr)GetPointerToScriptVariable(&ip, 0);
|
||||||
}
|
}
|
||||||
CollectParameters(pIp, b3D ? 7 : 5, &(ScriptParams[1]));
|
CollectParameters(pIp, b3D ? 7 : 5, &(ScriptParams[1]));
|
||||||
return id;
|
return id;
|
||||||
|
|
Loading…
Reference in a new issue