diff options
author | Eric Fry | 2018-05-05 22:02:33 +1000 |
---|---|---|
committer | Eugene Sandulenko | 2018-07-20 06:43:33 +0000 |
commit | c66b2208e0f8aa35288da64ce3903edc5a8205cd (patch) | |
tree | de423e71e9f6d929c9d9b28f7d10d4122d13d74a | |
parent | 2be02752218955374b5de881fc6f310097c09cbb (diff) | |
download | scummvm-rg350-c66b2208e0f8aa35288da64ce3903edc5a8205cd.tar.gz scummvm-rg350-c66b2208e0f8aa35288da64ce3903edc5a8205cd.tar.bz2 scummvm-rg350-c66b2208e0f8aa35288da64ce3903edc5a8205cd.zip |
ILLUSIONS: silence clang warning about not operation in expression
-rw-r--r-- | engines/illusions/resources/backgroundresource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/illusions/resources/backgroundresource.cpp b/engines/illusions/resources/backgroundresource.cpp index 1eff8e044f..ec2a08ae43 100644 --- a/engines/illusions/resources/backgroundresource.cpp +++ b/engines/illusions/resources/backgroundresource.cpp @@ -343,7 +343,7 @@ void BackgroundResource::load(byte *data, uint32 dataSize) { int BackgroundResource::findMasterBgIndex() { int index = 1; - while (!_bgInfos[index - 1]._flags & 1) //TODO check if this is a typo + while (!(_bgInfos[index - 1]._flags & 1)) //TODO check if this is correct ++index; return index; } |