aboutsummaryrefslogtreecommitdiff
path: root/engines/lilliput
diff options
context:
space:
mode:
authorsylvaintv2012-05-01 23:58:35 +0200
committerEugene Sandulenko2018-03-28 17:36:57 +0200
commit3f10768dc1d78f8c8b95b73e52ae3a78eb1d392b (patch)
treefbed82ae8227a1c54425fd3685b3d2e9cb063b4b /engines/lilliput
parent8019c8b26ccbcce04c042d8ad70d18c51a2f432c (diff)
downloadscummvm-rg350-3f10768dc1d78f8c8b95b73e52ae3a78eb1d392b.tar.gz
scummvm-rg350-3f10768dc1d78f8c8b95b73e52ae3a78eb1d392b.tar.bz2
scummvm-rg350-3f10768dc1d78f8c8b95b73e52ae3a78eb1d392b.zip
LILLIPUT: Fix draw interface icons
Diffstat (limited to 'engines/lilliput')
-rw-r--r--engines/lilliput/lilliput.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/lilliput/lilliput.cpp b/engines/lilliput/lilliput.cpp
index d3092a85bb..9fa1f15730 100644
--- a/engines/lilliput/lilliput.cpp
+++ b/engines/lilliput/lilliput.cpp
@@ -464,7 +464,7 @@ void LilliputEngine::displayFunction8() {
int index = 0;
int tmpVal;
- for (int i = 0; i < _word12F68_ERULES; i++) {
+ for (index = 0; index < _word12F68_ERULES; index++) {
tmpVal = ((_scriptHandler->_array122E9[index] << 2) + (_scriptHandler->_array122E9[index] << 4)) & 0xFF;
displayFunction1(_bufferIdeogram, tmpVal + index, _rulesBuffer13_2[index], _rulesBuffer13_3[index]);
}
@@ -591,6 +591,7 @@ void LilliputEngine::displayFunction12() {
_system->copyRectToScreen((byte *)_mainSurface->getPixels(), 320, 0, 0, 320, 200);
_system->updateScreen();
+
displayFunction6();
displayFunction7();
displayFunction8();