diff options
author | Robert Göffringmann | 2003-07-03 22:36:45 +0000 |
---|---|---|
committer | Robert Göffringmann | 2003-07-03 22:36:45 +0000 |
commit | 16031e1b00727efde1b06002adedacdb35d3759b (patch) | |
tree | 4ede90a4f932f148342f4586f81b77830246bdf9 | |
parent | 396c34d44bc2369953485de1b0d1dca4dd30337f (diff) | |
download | scummvm-rg350-16031e1b00727efde1b06002adedacdb35d3759b.tar.gz scummvm-rg350-16031e1b00727efde1b06002adedacdb35d3759b.tar.bz2 scummvm-rg350-16031e1b00727efde1b06002adedacdb35d3759b.zip |
whoops
svn-id: r8729
-rw-r--r-- | sky/control.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sky/control.cpp b/sky/control.cpp index 14afe2ebed..fd8dc17b14 100644 --- a/sky/control.cpp +++ b/sky/control.cpp @@ -1326,8 +1326,8 @@ void SkyControl::showGameQuitMsg(bool useScreen) { case PT_BRA: textNum = 5; break; default: textNum = 0; break; } - _skyText->displayText(_quitTexts[textNum + 0], textBuf1, true, 320, 255); - _skyText->displayText(_quitTexts[textNum + 1], textBuf2, true, 320, 255); + _skyText->displayText(_quitTexts[textNum * 2 + 0], textBuf1, true, 320, 255); + _skyText->displayText(_quitTexts[textNum * 2 + 1], textBuf2, true, 320, 255); uint8 *curLine1 = textBuf1 + sizeof(dataFileHeader); uint8 *curLine2 = textBuf2 + sizeof(dataFileHeader); uint8 *targetLine = screenData + GAME_SCREEN_WIDTH * 80; |