Core/Gameobject: fix build

This commit is contained in:
Kandera committed 2012-08-23 12:10:04 -04:00
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);
}