[Scummvm-cvs-logs] CVS: scummvm/sword2 logic.cpp,1.37,1.38
Torbj?rn Andersson
eriktorbjorn at users.sourceforge.net
Mon Jan 5 03:02:01 CET 2004
Update of /cvsroot/scummvm/scummvm/sword2
In directory sc8-pr-cvs1:/tmp/cvs-serv24415
Modified Files:
logic.cpp
Log Message:
Fixed some debugging messages so they refer to the correct function.
Index: logic.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword2/logic.cpp,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- logic.cpp 28 Dec 2003 15:08:11 -0000 1.37
+++ logic.cpp 5 Jan 2004 11:01:12 -0000 1.38
@@ -56,7 +56,7 @@
head = (StandardHeader *) _vm->_resman->openResource(run_list);
if (head->fileType != RUN_LIST)
- error("Logic_engine %d not a run_list", run_list);
+ error("processSession: %d not a run_list", run_list);
game_object_list = (uint32 *) (head + 1);
@@ -80,7 +80,7 @@
head = (StandardHeader *) _vm->_resman->openResource(ID);
if (head->fileType != GAME_OBJECT)
- error("Logic_engine %d not an object", ID);
+ error("processSession: %d not an object", ID);
_curObjectHub = (ObjectHub *) (head + 1);
@@ -126,7 +126,7 @@
far_head = (StandardHeader *) _vm->_resman->openResource(script / SIZE);
if (far_head->fileType != GAME_OBJECT && far_head->fileType != SCREEN_MANAGER)
- error("Logic_engine %d not a far object (its a %d)", script / SIZE, far_head->fileType);
+ error("processSession: %d not a far object (its a %d)", script / SIZE, far_head->fileType);
// raw_script_ad = (char *) (head + 1) + sizeof(StandardHeader);
More information about the Scummvm-git-logs
mailing list