diff options
Diffstat (limited to 'engines/parallaction/parallaction.cpp')
-rw-r--r-- | engines/parallaction/parallaction.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/parallaction/parallaction.cpp b/engines/parallaction/parallaction.cpp index e6ef53aa78..f868abfbf4 100644 --- a/engines/parallaction/parallaction.cpp +++ b/engines/parallaction/parallaction.cpp @@ -583,7 +583,10 @@ void Parallaction::runZone(ZonePtr z) { // ZONE TYPE: DOOR void Parallaction::updateDoor(ZonePtr z, bool close) { - z->_flags = close ? (z->_flags |= kFlagsClosed) : (z->_flags &= ~kFlagsClosed); + if (close) + z->_flags |= kFlagsClosed; + else + z->_flags &= ~kFlagsClosed; if (z->u._gfxobj) { uint frame = (close ? 0 : 1); |