diff options
author | Willem Jan Palenstijn | 2013-04-15 20:35:43 +0200 |
---|---|---|
committer | Willem Jan Palenstijn | 2013-04-15 20:35:43 +0200 |
commit | e7b38a7c2a91a881ce00eecca86cd202ed8375d1 (patch) | |
tree | 1dfdee83787da5d03449977c966f5555cc404984 /engines/parallaction/parallaction.cpp | |
parent | 642708de4c65e555bc65aba7c3b5e71d527b3342 (diff) | |
download | scummvm-rg350-e7b38a7c2a91a881ce00eecca86cd202ed8375d1.tar.gz scummvm-rg350-e7b38a7c2a91a881ce00eecca86cd202ed8375d1.tar.bz2 scummvm-rg350-e7b38a7c2a91a881ce00eecca86cd202ed8375d1.zip |
PARALLACTION: Cleanup
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); |