aboutsummaryrefslogtreecommitdiff
path: root/saga/sdebug.cpp
diff options
context:
space:
mode:
authorAndrew Kurushin2005-05-08 14:04:06 +0000
committerAndrew Kurushin2005-05-08 14:04:06 +0000
commita81b093e65f90ea70c5b07676a1fcc46d3e95a5e (patch)
treee0fced8f17e32e28fe24a1c948d2a74e6a039699 /saga/sdebug.cpp
parent781472641e32d1999660caa54c27b218c5b4298d (diff)
downloadscummvm-rg350-a81b093e65f90ea70c5b07676a1fcc46d3e95a5e.tar.gz
scummvm-rg350-a81b093e65f90ea70c5b07676a1fcc46d3e95a5e.tar.bz2
scummvm-rg350-a81b093e65f90ea70c5b07676a1fcc46d3e95a5e.zip
fixed sfSceneEq bug
fixed load actors entrance removed some orphans svn-id: r17964
Diffstat (limited to 'saga/sdebug.cpp')
-rw-r--r--saga/sdebug.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/saga/sdebug.cpp b/saga/sdebug.cpp
index ebc378ea7c..7235023c67 100644
--- a/saga/sdebug.cpp
+++ b/saga/sdebug.cpp
@@ -45,14 +45,11 @@ int Script::SDebugPrintInstr(ScriptThread *thread) {
// int op_offset;
int n_switch;
int i;
- SCENE_INFO si;
-
- _vm->_scene->getInfo(&si);
disp_buf[0] = 0;
if (_dbg_txtentry != NULL) {
- _vm->textDeleteEntry(si.text_list, _dbg_txtentry);
+ _vm->textDeleteEntry(_vm->_scene->_textList, _dbg_txtentry);
_dbg_txtentry = NULL;
}
@@ -469,7 +466,7 @@ int Script::SDebugPrintInstr(ScriptThread *thread) {
break;
}
- _dbg_txtentry = _vm->textAddEntry(si.text_list, &tl_e);
+ _dbg_txtentry = _vm->textAddEntry(_vm->_scene->_textList, &tl_e);
_vm->textSetDisplay(_dbg_txtentry, 1);
return SUCCESS;