From 9ea89568da85d8325c88d291eb8e2bc63f41a96c Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Mon, 5 Jan 2004 11:01:12 +0000 Subject: Fixed some debugging messages so they refer to the correct function. svn-id: r12152 --- sword2/logic.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sword2') 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); -- cgit v1.2.3