From 5882ea5819563aa1c381a96e736bc3be85bb2b17 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Wed, 5 May 2004 07:06:18 +0000 Subject: Cleanup. Part of this cleanup involved removing _unpauseZone. It was only used by fnISpeak(), and as far as I could tell it was just because the original code didn't trust amISpeaking() and getSpeechStatus() to return sensible values directly after unpausing the game. svn-id: r13781 --- sword2/debug.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sword2/debug.cpp') diff --git a/sword2/debug.cpp b/sword2/debug.cpp index da61b81b43..b16555e5e8 100644 --- a/sword2/debug.cpp +++ b/sword2/debug.cpp @@ -265,10 +265,10 @@ void Debugger::buildDebugText(void) { // "waiting for person" indicator - set form fnTheyDo and // fnTheyDoWeWait - if (_vm->_logic->_speechScriptWaiting) { + if (_speechScriptWaiting) { sprintf(buf, "script waiting for %s (%d)", - _vm->fetchObjectName(_vm->_logic->_speechScriptWaiting, name), - _vm->_logic->_speechScriptWaiting); + _vm->fetchObjectName(_speechScriptWaiting, name), + _speechScriptWaiting); makeDebugTextBlock(buf, 0, 90); } -- cgit v1.2.3