aboutsummaryrefslogtreecommitdiff
path: root/sword2
diff options
context:
space:
mode:
authorTorbjörn Andersson2004-01-05 11:01:12 +0000
committerTorbjörn Andersson2004-01-05 11:01:12 +0000
commit9ea89568da85d8325c88d291eb8e2bc63f41a96c (patch)
tree39348393058120e7b4e267b6f8a1e2217e4b5715 /sword2
parent5f9cfba5485e3cd05e1f7a60356952d608e2675d (diff)
downloadscummvm-rg350-9ea89568da85d8325c88d291eb8e2bc63f41a96c.tar.gz
scummvm-rg350-9ea89568da85d8325c88d291eb8e2bc63f41a96c.tar.bz2
scummvm-rg350-9ea89568da85d8325c88d291eb8e2bc63f41a96c.zip
Fixed some debugging messages so they refer to the correct function.
svn-id: r12152
Diffstat (limited to 'sword2')
-rw-r--r--sword2/logic.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/sword2/logic.cpp b/sword2/logic.cpp
index 059071b0bf..ece9bbd7f3 100644
--- a/sword2/logic.cpp
+++ b/sword2/logic.cpp
@@ -56,7 +56,7 @@ int Logic::processSession(void) {
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 @@ int Logic::processSession(void) {
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 @@ int Logic::processSession(void) {
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);