aboutsummaryrefslogtreecommitdiff
path: root/engines/lilliput
diff options
context:
space:
mode:
authorStrangerke2012-06-17 11:55:06 +0200
committerEugene Sandulenko2018-03-28 17:36:57 +0200
commit653c27f93016bc150ccfbfd0bafdcb649e32df74 (patch)
tree8631ed00186bd20274eb21da7e211de4d13e40b0 /engines/lilliput
parentf03571ccb1bd3b61eca01ef06680e8315179826b (diff)
downloadscummvm-rg350-653c27f93016bc150ccfbfd0bafdcb649e32df74.tar.gz
scummvm-rg350-653c27f93016bc150ccfbfd0bafdcb649e32df74.tar.bz2
scummvm-rg350-653c27f93016bc150ccfbfd0bafdcb649e32df74.zip
LILLIPUT: Cleanup of previous fix, add TODO comment
Diffstat (limited to 'engines/lilliput')
-rw-r--r--engines/lilliput/script.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/engines/lilliput/script.cpp b/engines/lilliput/script.cpp
index f8c3dc0b15..5505645ab0 100644
--- a/engines/lilliput/script.cpp
+++ b/engines/lilliput/script.cpp
@@ -3105,12 +3105,11 @@ void LilliputScript::OC_disableInterfaceHotspot() {
void LilliputScript::OC_loadFile_AERIAL_GFX() {
debugC(1, kDebugScriptTBC, "OC_loadFile_AERIAL_GFX()");
-
-// Unused variable
-// int var1 = _currScript->readUint16LE() & 0xFF;
-// byte _byte15EAD = var1;
-// _currScript->readUint16LE(); // di is restored afterwards so do nothing
-//
+
+ // Unused variable, and the script position is restored afterwards
+ // TODO: Check if this part of the code is present in Rome, else remove it
+ // int var1 = _currScript->readUint16LE() & 0xFF;
+ // byte _byte15EAD = var1;
_vm->_refreshScreenFlag = true;
_talkingCharacter = -1;