diff options
author | Filippos Karapetis | 2011-12-17 15:25:56 +0200 |
---|---|---|
committer | Filippos Karapetis | 2011-12-17 15:25:56 +0200 |
commit | 7d38ba5619fbca6850c0d67eb9a2b43938654cf1 (patch) | |
tree | 2333614bf7be1ec75a99063864f2aa4511c016f6 /engines/dreamweb | |
parent | 127795805358493d92f82fae2768c1559a8bcaf0 (diff) | |
download | scummvm-rg350-7d38ba5619fbca6850c0d67eb9a2b43938654cf1.tar.gz scummvm-rg350-7d38ba5619fbca6850c0d67eb9a2b43938654cf1.tar.bz2 scummvm-rg350-7d38ba5619fbca6850c0d67eb9a2b43938654cf1.zip |
DREAMWEB: Fix another regression in isRyanHolding() (thanks wjp)
Diffstat (limited to 'engines/dreamweb')
-rw-r--r-- | engines/dreamweb/stubs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp index 8ee5158773..a1d08b35d1 100644 --- a/engines/dreamweb/stubs.cpp +++ b/engines/dreamweb/stubs.cpp @@ -1788,7 +1788,7 @@ bool DreamGenContext::isRyanHolding(const char *id) { for (uint16 index = 0; index < kNumexobjects; index++) { DynObject *object = getExAd(index); if (object->mapad[0] == 4 && objectMatches(object, id)) - return (index == kNumexobjects); + return true; } return false; |