From 3f10768dc1d78f8c8b95b73e52ae3a78eb1d392b Mon Sep 17 00:00:00 2001 From: sylvaintv Date: Tue, 1 May 2012 23:58:35 +0200 Subject: LILLIPUT: Fix draw interface icons --- engines/lilliput/lilliput.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines/lilliput') 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(); -- cgit v1.2.3