aboutsummaryrefslogtreecommitdiff
path: root/engines/lilliput/lilliput.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lilliput/lilliput.cpp')
-rw-r--r--engines/lilliput/lilliput.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/lilliput/lilliput.cpp b/engines/lilliput/lilliput.cpp
index 3e6b2109f0..21b18f9133 100644
--- a/engines/lilliput/lilliput.cpp
+++ b/engines/lilliput/lilliput.cpp
@@ -153,7 +153,7 @@ LilliputEngine::LilliputEngine(OSystem *syst, const LilliputGameDescription *gd)
_currentScriptCharacter = 0;
_currentScriptCharacterPos = Common::Point(0, 0);
_word10804 = 0;
- _word17081_nextIndex = 0;
+ _nextCharacterIndex = 0;
_word16EFE = 0xFFFF;
_word1817B = 0;
_savedSurfaceUnderMousePos = Common::Point(0, 0);
@@ -2629,7 +2629,7 @@ void LilliputEngine::sub130DD() {
}
void LilliputEngine::handleMenu() {
- debugC(1, kDebugEngineTBC, "handleMenu()");
+ debugC(1, kDebugEngine, "handleMenu()");
if (_byte16F07_menuId == 0)
return;
@@ -2651,9 +2651,9 @@ void LilliputEngine::handleMenu() {
}
void LilliputEngine::handleGameScripts() {
- debugC(1, kDebugEngineTBC, "handleGameScripts()");
+ debugC(1, kDebugEngine, "handleGameScripts()");
- int index = _word17081_nextIndex;
+ int index = _nextCharacterIndex;
int i;
for (i = 0; (_scriptHandler->_characterScriptEnabled[index] == 0) && (i < _numCharacters); i++) {
++index;
@@ -2664,7 +2664,7 @@ void LilliputEngine::handleGameScripts() {
if (i > _numCharacters)
return;
- _word17081_nextIndex = (index + 1) % _numCharacters;
+ _nextCharacterIndex = (index + 1) % _numCharacters;
_scriptHandler->_characterScriptEnabled[index] = 0;