diff options
author | Max Horn | 2010-04-28 22:23:34 +0000 |
---|---|---|
committer | Max Horn | 2010-04-28 22:23:34 +0000 |
commit | c75ff0515e144ab4c6a1c5d55d65508b32b3ef4d (patch) | |
tree | e6eeb11308689e8963c0ce3e6a1b0bd0bd1babb7 /engines/saga/puzzle.cpp | |
parent | a5aedb73be3e6833506f2836d0c92ed2704fd1a5 (diff) | |
download | scummvm-rg350-c75ff0515e144ab4c6a1c5d55d65508b32b3ef4d.tar.gz scummvm-rg350-c75ff0515e144ab4c6a1c5d55d65508b32b3ef4d.tar.bz2 scummvm-rg350-c75ff0515e144ab4c6a1c5d55d65508b32b3ef4d.zip |
SAGA: Avoid global constructor for pieceOrigins array
svn-id: r48842
Diffstat (limited to 'engines/saga/puzzle.cpp')
-rw-r--r-- | engines/saga/puzzle.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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); } |