aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/snail.cpp
diff options
context:
space:
mode:
authoreriktorbjorn2011-06-27 19:25:24 +0200
committereriktorbjorn2011-06-27 19:25:24 +0200
commit315bbd348d490d3edf6f5dcfb58ffcc9ecde83b3 (patch)
tree21e2e83f1d0bf2e187bb3769b360697bb671d2ab /engines/cge/snail.cpp
parent571c3fc666ce95ce880e7a428585ea99c7c66fd2 (diff)
downloadscummvm-rg350-315bbd348d490d3edf6f5dcfb58ffcc9ecde83b3.tar.gz
scummvm-rg350-315bbd348d490d3edf6f5dcfb58ffcc9ecde83b3.tar.bz2
scummvm-rg350-315bbd348d490d3edf6f5dcfb58ffcc9ecde83b3.zip
CGE: Fix some GCC compile errors and warnings.
Diffstat (limited to 'engines/cge/snail.cpp')
-rw-r--r--engines/cge/snail.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cge/snail.cpp b/engines/cge/snail.cpp
index 24ed08c140..0137ab4cfa 100644
--- a/engines/cge/snail.cpp
+++ b/engines/cge/snail.cpp
@@ -92,7 +92,7 @@ static void SNGame(SPRITE *spr, int num) {
++ Stage;
if (hand && Stage > DRESSED)
++hand;
- if (i >= 0 || dup[i] == spr && new_random(3) == 0) {
+ if (i >= 0 || (dup[i] == spr && new_random(3) == 0)) {
SNPOST(SNSEQ, -1, 3, dup[0]); // yes
SNPOST(SNSEQ, -1, 3, dup[1]); // yes
SNPOST(SNSEQ, -1, 3, dup[2]); // yes