mirror of
https://github.com/libretro/scummvm.git
synced 2025-05-13 17:46:22 +00:00
Fixed some debugging messages so they refer to the correct function.
svn-id: r12152
This commit is contained in:
parent
5f9cfba548
commit
9ea89568da
@ -56,7 +56,7 @@ int Logic::processSession(void) {
|
|||||||
head = (StandardHeader *) _vm->_resman->openResource(run_list);
|
head = (StandardHeader *) _vm->_resman->openResource(run_list);
|
||||||
|
|
||||||
if (head->fileType != 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);
|
game_object_list = (uint32 *) (head + 1);
|
||||||
|
|
||||||
@ -80,7 +80,7 @@ int Logic::processSession(void) {
|
|||||||
head = (StandardHeader *) _vm->_resman->openResource(ID);
|
head = (StandardHeader *) _vm->_resman->openResource(ID);
|
||||||
|
|
||||||
if (head->fileType != GAME_OBJECT)
|
if (head->fileType != GAME_OBJECT)
|
||||||
error("Logic_engine %d not an object", ID);
|
error("processSession: %d not an object", ID);
|
||||||
|
|
||||||
_curObjectHub = (ObjectHub *) (head + 1);
|
_curObjectHub = (ObjectHub *) (head + 1);
|
||||||
|
|
||||||
@ -126,7 +126,7 @@ int Logic::processSession(void) {
|
|||||||
far_head = (StandardHeader *) _vm->_resman->openResource(script / SIZE);
|
far_head = (StandardHeader *) _vm->_resman->openResource(script / SIZE);
|
||||||
|
|
||||||
if (far_head->fileType != GAME_OBJECT && far_head->fileType != SCREEN_MANAGER)
|
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);
|
// raw_script_ad = (char *) (head + 1) + sizeof(StandardHeader);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user