From c75ff0515e144ab4c6a1c5d55d65508b32b3ef4d Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 28 Apr 2010 22:23:34 +0000 Subject: SAGA: Avoid global constructor for pieceOrigins array svn-id: r48842 --- engines/saga/puzzle.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'engines/saga/puzzle.cpp') diff --git a/engines/saga/puzzle.cpp b/engines/saga/puzzle.cpp index efce5fcb58..957ab3c8b6 100644 --- a/engines/saga/puzzle.cpp +++ b/engines/saga/puzzle.cpp @@ -556,8 +556,7 @@ void Puzzle::giveHint() { sprintf(hintBuf, optionsStr[_lang][kROHint], pieceNames[_lang][piece]); _vm->_actor->nonActorSpeech(_hintBox, &hintPtr, 1, PUZZLE_TOOL_SOUNDS + _hintSpeaker + piece * 3, 0); - } - else { + } else { // If no pieces are in the wrong place _vm->_actor->nonActorSpeech(_hintBox, &hintStr[_lang][3], 1, PUZZLE_HINT_SOUNDS + 3 * 3 + _hintSpeaker, 0); } -- cgit v1.2.3