1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 16:50:07 +00:00

embarassing

This commit is contained in:
Nikolay Korolev 2020-11-02 23:53:52 +03:00
parent 8acc98563e
commit 0ccc70c843

View file

@ -12125,14 +12125,14 @@ int8 CRunningScript::ProcessCommands1100To1199(int32 command)
{ {
int32* ptr = GetPointerToScriptVariable(&m_nIp, VAR_GLOBAL); int32* ptr = GetPointerToScriptVariable(&m_nIp, VAR_GLOBAL);
CollectParameters(&m_nIp, 1); CollectParameters(&m_nIp, 1);
UpdateCompareFlag(*ptr = ScriptParams[0]); UpdateCompareFlag(*ptr == ScriptParams[0]);
return 0; return 0;
} }
case COMMAND_IS_INT_LVAR_EQUAL_TO_CONSTANT: case COMMAND_IS_INT_LVAR_EQUAL_TO_CONSTANT:
{ {
int32* ptr = GetPointerToScriptVariable(&m_nIp, VAR_LOCAL); int32* ptr = GetPointerToScriptVariable(&m_nIp, VAR_LOCAL);
CollectParameters(&m_nIp, 1); CollectParameters(&m_nIp, 1);
UpdateCompareFlag(*ptr = ScriptParams[0]); UpdateCompareFlag(*ptr == ScriptParams[0]);
return 0; return 0;
} }
case COMMAND_GET_DEAD_CHAR_PICKUP_COORDS: case COMMAND_GET_DEAD_CHAR_PICKUP_COORDS: