[Scummvm-cvs-logs] scummvm master -> 7d38ba5619fbca6850c0d67eb9a2b43938654cf1

bluegr md5 at scummvm.org
Sat Dec 17 14:26:44 CET 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
7d38ba5619 DREAMWEB: Fix another regression in isRyanHolding() (thanks wjp)


Commit: 7d38ba5619fbca6850c0d67eb9a2b43938654cf1
    https://github.com/scummvm/scummvm/commit/7d38ba5619fbca6850c0d67eb9a2b43938654cf1
Author: Filippos Karapetis (md5 at scummvm.org)
Date: 2011-12-17T05:25:56-08:00

Commit Message:
DREAMWEB: Fix another regression in isRyanHolding() (thanks wjp)

Changed paths:
    engines/dreamweb/stubs.cpp



diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp
index 8ee5158..a1d08b3 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;






More information about the Scummvm-git-logs mailing list