[Scummvm-cvs-logs] SF.net SVN: scummvm: [24283] scummvm/trunk/engines/agos

kirben at users.sourceforge.net kirben at users.sourceforge.net
Thu Oct 12 07:54:23 CEST 2006


Revision: 24283
          http://svn.sourceforge.net/scummvm/?rev=24283&view=rev
Author:   kirben
Date:     2006-10-11 22:54:18 -0700 (Wed, 11 Oct 2006)

Log Message:
-----------
Fix mistake in debug opcode table for Elvira 1

Modified Paths:
--------------
    scummvm/trunk/engines/agos/debug.h
    scummvm/trunk/engines/agos/items.cpp

Modified: scummvm/trunk/engines/agos/debug.h
===================================================================
--- scummvm/trunk/engines/agos/debug.h	2006-10-11 15:10:59 UTC (rev 24282)
+++ scummvm/trunk/engines/agos/debug.h	2006-10-12 05:54:18 UTC (rev 24283)
@@ -95,7 +95,7 @@
 	/* 52 */
 	NULL,
 	NULL,
-	"IWV|COPY_OF",
+	"IWW|COPY_OF",
 	"WIW|COPY_FO",
 	/* 56 */
 	"WW|MOVE",

Modified: scummvm/trunk/engines/agos/items.cpp
===================================================================
--- scummvm/trunk/engines/agos/items.cpp	2006-10-11 15:10:59 UTC (rev 24282)
+++ scummvm/trunk/engines/agos/items.cpp	2006-10-12 05:54:18 UTC (rev 24283)
@@ -1874,12 +1874,12 @@
 void AGOSEngine::oe1_weigh() {
 	// 59: weight
 	Item *item = getNextItemPtr();
-	writeVariable(getVarOrWord(), weighUp(item));
+	writeNextVarContents(weighUp(item));
 }
 
 void AGOSEngine::oe1_setFF() {
 	// 60: set FF
-	writeNextVarContents(0xFF);
+	writeNextVarContents(255);
 }
 
 void AGOSEngine::oe1_moveDirn() {
@@ -2005,7 +2005,6 @@
 	int16 f = getVarOrWord();
 	int16 ct = 0;
 
-
 	c = (SubUserChain *)findChildOfType(d, 8);
 	if (c)
 		a = derefItem(c->chChained);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list