[Scummvm-cvs-logs] CVS: scummvm/queen logic.cpp,1.94,1.95

David Eriksson twogood at users.sourceforge.net
Thu Nov 13 04:40:09 CET 2003


Update of /cvsroot/scummvm/scummvm/queen
In directory sc8-pr-cvs1:/tmp/cvs-serv4875/queen

Modified Files:
	logic.cpp 
Log Message:
According to the original source code, the journal has a different ID in
the demos, but when actually running the demos I get a banana instead of
a journal... so let's use the same ID as in the real game.


Index: logic.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/queen/logic.cpp,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -d -r1.94 -r1.95
--- logic.cpp	13 Nov 2003 10:44:31 -0000	1.94
+++ logic.cpp	13 Nov 2003 12:39:37 -0000	1.95
@@ -1930,7 +1930,7 @@
 
 	_graphics->bankLoad("objects.BBK", 14);
 	_inventoryItem[0] = ITEM_BAT;
-	_inventoryItem[1] = _resource->isDemo() ? ITEM_JOURNAL_DEMO : ITEM_JOURNAL;
+	_inventoryItem[1] = ITEM_JOURNAL;
 	_inventoryItem[2] = ITEM_NONE;
 	_inventoryItem[3] = ITEM_NONE;
 }





More information about the Scummvm-git-logs mailing list