aboutsummaryrefslogtreecommitdiff
path: root/engines/lilliput/script.cpp
diff options
context:
space:
mode:
authorStrangerke2012-09-18 00:17:51 +0200
committerEugene Sandulenko2018-03-28 17:36:57 +0200
commite059e81babcb6d0e4eb33382998f59e16e096deb (patch)
tree0d60eb972f54ce27a7a3ea1a203bb05f6e622c11 /engines/lilliput/script.cpp
parentb387257138ccb19eee1ae0fd264567a8c40f1f5d (diff)
downloadscummvm-rg350-e059e81babcb6d0e4eb33382998f59e16e096deb.tar.gz
scummvm-rg350-e059e81babcb6d0e4eb33382998f59e16e096deb.tar.bz2
scummvm-rg350-e059e81babcb6d0e4eb33382998f59e16e096deb.zip
LILLIPUT: Some renaming, fix a warning
Diffstat (limited to 'engines/lilliput/script.cpp')
-rw-r--r--engines/lilliput/script.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/lilliput/script.cpp b/engines/lilliput/script.cpp
index bf616d830d..853f763e7e 100644
--- a/engines/lilliput/script.cpp
+++ b/engines/lilliput/script.cpp
@@ -1230,9 +1230,9 @@ void LilliputScript::listAllTexts() {
int variantCount = 0;
while (_vm->_packedStrings[index + variantCount] == 0x5B)
++variantCount ;
- int it = 0;
-
- /*if (variantCount != 0) {
+ /*
+ int it = 0;
+ if (variantCount != 0) {
for (int j = 0; j < variantCount; j++) {
decodePackedText(&_vm->_packedStrings[index + variantCount + it]);
warning("Text 0x%x variant %d : %s", i, j, _vm->_displayStringBuf);