1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 00:00:00 +00:00
This commit is contained in:
Sergeanur 2020-10-18 16:55:11 +03:00
parent b91f6a4550
commit cc0ae51631

View file

@ -9184,13 +9184,13 @@ int8 CRunningScript::ProcessCommands900To999(int32 command)
CObject* pObject = CPools::GetObjectPool()->GetAt(ScriptParams[0]);
script_assert(pObject);
if (ScriptParams[1]) {
if (pObject->GetIsStatic()) {
if (pObject->bIsStatic) {
pObject->SetIsStatic(false);
pObject->AddToMovingList();
}
}
else {
if (!pObject->GetIsStatic()) {
if (!pObject->bIsStatic) {
pObject->SetIsStatic(true);
pObject->RemoveFromMovingList();
}