[Scummvm-cvs-logs] scummvm master -> 956abddc5ce30bf29bb7df84f3eb3f74076d57e0

bluegr md5 at scummvm.org
Sat Dec 17 14:51:42 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:
956abddc5c DREAMWEB: Fix regression in selectOb() (thanks wjp)


Commit: 956abddc5ce30bf29bb7df84f3eb3f74076d57e0
    https://github.com/scummvm/scummvm/commit/956abddc5ce30bf29bb7df84f3eb3f74076d57e0
Author: Filippos Karapetis (md5 at scummvm.org)
Date: 2011-12-17T05:50:48-08:00

Commit Message:
DREAMWEB: Fix regression in selectOb() (thanks wjp)

Changed paths:
    engines/dreamweb/object.cpp



diff --git a/engines/dreamweb/object.cpp b/engines/dreamweb/object.cpp
index d376f91..3cea2a5 100644
--- a/engines/dreamweb/object.cpp
+++ b/engines/dreamweb/object.cpp
@@ -399,7 +399,7 @@ void DreamGenContext::selectOb() {
 	}
 
 	data.byte(kWithobject) = objectId & 0x00FF;
-	data.byte(kWithtype)   = objectId & 0xFF00;
+	data.byte(kWithtype)   = objectId >> 8;
 
 	if (objectId == data.word(kOldsubject) && data.byte(kCommandtype) != 221)
 		data.byte(kCommandtype) = 221;






More information about the Scummvm-git-logs mailing list