aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/illusions/resources/backgroundresource.cpp2
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;
}