diff options
-rw-r--r-- | engines/hopkins/anim.cpp | 2 | ||||
-rw-r--r-- | engines/hopkins/computer.cpp | 2 | ||||
-rw-r--r-- | engines/hopkins/font.cpp | 8 | ||||
-rw-r--r-- | engines/hopkins/hopkins.cpp | 2 | ||||
-rw-r--r-- | engines/hopkins/talk.cpp | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/engines/hopkins/anim.cpp b/engines/hopkins/anim.cpp index d18c4fbd1c..1875932a53 100644 --- a/engines/hopkins/anim.cpp +++ b/engines/hopkins/anim.cpp @@ -543,7 +543,7 @@ int AnimationManager::loadSpriteBank(int idx, const Common::String &filename) { _vm->_globals.Bank[idx]._fileHeader = 0; if (fileDataPtr[1] == 'L' && fileDataPtr[2] == 'E') - _vm->_globals.Bank[idx]._fileHeader = 1; + _vm->_globals.Bank[idx]._fileHeader = 1; else if (fileDataPtr[1] == 'O' && fileDataPtr[2] == 'R') _vm->_globals.Bank[idx]._fileHeader = 2; diff --git a/engines/hopkins/computer.cpp b/engines/hopkins/computer.cpp index 8d9b108ce3..e44b77c317 100644 --- a/engines/hopkins/computer.cpp +++ b/engines/hopkins/computer.cpp @@ -927,7 +927,7 @@ void ComputerManager::displayScoreChar(int charPos, int charDisp) { xp = 134; if (charDisp >= '0' && charDisp <= '9') - idx = charDisp - 45; + idx = charDisp - 45; _vm->_graphicsManager.AFFICHE_SPEEDVGA(_breakoutSpr, xp, 11, idx); } diff --git a/engines/hopkins/font.cpp b/engines/hopkins/font.cpp index b7b9ecf3b6..1077cad865 100644 --- a/engines/hopkins/font.cpp +++ b/engines/hopkins/font.cpp @@ -152,10 +152,10 @@ void FontManager::box(int idx, int messageId, const Common::String &filename, in _vm->_graphicsManager.Restore_Mem( _vm->_graphicsManager._vesaBuffer, _text[idx]._textBlock, - xp, - yp, - _text[idx]._width, - _text[idx]._height); + xp, + yp, + _text[idx]._width, + _text[idx]._height); _vm->_graphicsManager.addVesaSegment(xp, yp, xp + width, yp + height); } } else { diff --git a/engines/hopkins/hopkins.cpp b/engines/hopkins/hopkins.cpp index 2b81867060..647851dbbd 100644 --- a/engines/hopkins/hopkins.cpp +++ b/engines/hopkins/hopkins.cpp @@ -1972,7 +1972,7 @@ void HopkinsEngine::displayEndDemo() { if (_globals._language == LANG_FR) _graphicsManager.loadImage("endfr"); else - _graphicsManager.loadImage("enduk"); + _graphicsManager.loadImage("enduk"); _graphicsManager.fadeInLong(); _eventsManager.delay(1500); diff --git a/engines/hopkins/talk.cpp b/engines/hopkins/talk.cpp index 7df6b21c51..eb72133c4d 100644 --- a/engines/hopkins/talk.cpp +++ b/engines/hopkins/talk.cpp @@ -206,7 +206,7 @@ void TalkManager::PARLER_PERSO2(const Common::String &filename) { if (_vm->_globals._introSpeechOffFl) { int idx = 1; int answer; - do + do answer = dialogAnswer(idx++); while (answer != -1); } |