mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-12-23 16:21:50 +01:00
lil fix
This commit is contained in:
parent
b91f6a4550
commit
cc0ae51631
@ -9184,13 +9184,13 @@ int8 CRunningScript::ProcessCommands900To999(int32 command)
|
|||||||
CObject* pObject = CPools::GetObjectPool()->GetAt(ScriptParams[0]);
|
CObject* pObject = CPools::GetObjectPool()->GetAt(ScriptParams[0]);
|
||||||
script_assert(pObject);
|
script_assert(pObject);
|
||||||
if (ScriptParams[1]) {
|
if (ScriptParams[1]) {
|
||||||
if (pObject->GetIsStatic()) {
|
if (pObject->bIsStatic) {
|
||||||
pObject->SetIsStatic(false);
|
pObject->SetIsStatic(false);
|
||||||
pObject->AddToMovingList();
|
pObject->AddToMovingList();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (!pObject->GetIsStatic()) {
|
if (!pObject->bIsStatic) {
|
||||||
pObject->SetIsStatic(true);
|
pObject->SetIsStatic(true);
|
||||||
pObject->RemoveFromMovingList();
|
pObject->RemoveFromMovingList();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user