From 16031e1b00727efde1b06002adedacdb35d3759b Mon Sep 17 00:00:00 2001 From: Robert Göffringmann Date: Thu, 3 Jul 2003 22:36:45 +0000 Subject: whoops svn-id: r8729 --- sky/control.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sky') 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; -- cgit v1.2.3