aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/snail.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2011-06-28 21:58:26 +1000
committerPaul Gilbert2011-06-28 21:58:26 +1000
commitd4b11df58b9b94b2e5c85cb2f9a4e712a8aaf72c (patch)
tree7eecb14da9bd2f9692e4e7efa0df910e0103963d /engines/cge/snail.cpp
parent2fe6061d919a84e1f2849415902b3e91403bf69d (diff)
parent315bbd348d490d3edf6f5dcfb58ffcc9ecde83b3 (diff)
downloadscummvm-rg350-d4b11df58b9b94b2e5c85cb2f9a4e712a8aaf72c.tar.gz
scummvm-rg350-d4b11df58b9b94b2e5c85cb2f9a4e712a8aaf72c.tar.bz2
scummvm-rg350-d4b11df58b9b94b2e5c85cb2f9a4e712a8aaf72c.zip
Merge branch 'soltys_wip2' of github.com:Strangerke/scummvm into cge
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