mirror of
https://github.com/mrxenginner/reVC.git
synced 2026-10-11 01:38:18 +08:00
lil fix
This commit is contained in:
1 parent
b91f6a4550
commit
cc0ae51631
1 file changed
+2
-2
@@ -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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user