diff options
author | Willem Jan Palenstijn | 2010-06-26 20:28:42 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2010-06-26 20:28:42 +0000 |
commit | caded4f892905eb8821ba9431ec2119aab6facd9 (patch) | |
tree | bb4f0cfa0064a0f36f1d1597642d107bd48840b8 | |
parent | 710fc6c71e21bb0b3b9f7f89cdaf9445450df2e2 (diff) | |
download | scummvm-rg350-caded4f892905eb8821ba9431ec2119aab6facd9.tar.gz scummvm-rg350-caded4f892905eb8821ba9431ec2119aab6facd9.tar.bz2 scummvm-rg350-caded4f892905eb8821ba9431ec2119aab6facd9.zip |
Improve readability
svn-id: r50340
-rw-r--r-- | engines/sci/graphics/animate.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/graphics/animate.cpp b/engines/sci/graphics/animate.cpp index 08ff3bfc80..2f1e1e726c 100644 --- a/engines/sci/graphics/animate.cpp +++ b/engines/sci/graphics/animate.cpp @@ -331,7 +331,8 @@ void GfxAnimate::update() { writeSelectorValue(_s->_segMan, curObject, SELECTOR(underBits), 0); } signal &= 0xFFFF ^ kSignalForceUpdate; - signal &= signal & kSignalViewUpdated ? 0xFFFF ^ (kSignalViewUpdated | kSignalNoUpdate) : 0xFFFF; + if (signal & kSignalViewUpdated) + signal &= ~(kSignalViewUpdated | kSignalNoUpdate); } else if (signal & kSignalStopUpdate) { signal = (signal & (0xFFFF ^ kSignalStopUpdate)) | kSignalNoUpdate; } |