Core/Gameobject: fix build
This commit is contained in:
1 parent
53db3d9700
commit
a1b3ec2e21
1 file changed
+1
-1
@@ -1952,7 +1952,7 @@ void GameObject::SetGoState(GOState state)
|
||||
bool startOpen = (GetGoType() == GAMEOBJECT_TYPE_DOOR || GetGoType() == GAMEOBJECT_TYPE_BUTTON ? GetGOInfo()->door.startOpen : false);
|
||||
|
||||
if (state != GO_STATE_READY)
|
||||
startOpen = !startOpen
|
||||
startOpen = !startOpen;
|
||||
|
||||
EnableCollision(startOpen);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user