aboutsummaryrefslogtreecommitdiff
path: root/engines/touche/ui.cpp
diff options
context:
space:
mode:
authorGregory Montoir2006-11-11 04:42:36 +0000
committerGregory Montoir2006-11-11 04:42:36 +0000
commitc305f6f12c9f44a35047cd11578ba25188223bc2 (patch)
tree676c998407d21be2c8b58ae85c25040d83fb0012 /engines/touche/ui.cpp
parent3c7cb08db5c828b4628f3c9adceeb11a43fb450b (diff)
downloadscummvm-rg350-c305f6f12c9f44a35047cd11578ba25188223bc2.tar.gz
scummvm-rg350-c305f6f12c9f44a35047cd11578ba25188223bc2.tar.bz2
scummvm-rg350-c305f6f12c9f44a35047cd11578ba25188223bc2.zip
various fixes, Touche should now be completable without any major glitches
svn-id: r24672
Diffstat (limited to 'engines/touche/ui.cpp')
-rw-r--r--engines/touche/ui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/touche/ui.cpp b/engines/touche/ui.cpp
index 5dbcd41a29..7c9c28b9cf 100644
--- a/engines/touche/ui.cpp
+++ b/engines/touche/ui.cpp
@@ -493,14 +493,14 @@ void ToucheEngine::drawConversationPanel() {
--dstX;
Graphics::copyRect(_offscreenBuffer, 640, dstX, 320, _convKitData, 152, 120, 0, 7, 80);
dstX -= 3;
- if (_drawCharacterConversionRepeatCounter != 0) {
+ if (_scrollConversationChoiceOffset != 0) {
drawConversationPanelBorder(320, 72, 0);
Graphics::copyRect(_offscreenBuffer, 640, 0, 320, _convKitData, 152, 128, 0, 24, 21);
Graphics::copyRect(_offscreenBuffer, 640, dstX, 320, _convKitData, 152, 128, 34, 10, 10);
} else {
drawConversationPanelBorder(320, 24, 0);
}
- if (_conversationChoicesTable[_drawCharacterConversionRepeatCounter + 4].msg != 0) {
+ if (_conversationChoicesTable[_scrollConversationChoiceOffset + 4].msg != 0) {
drawConversationPanelBorder(394, 72, 74);
Graphics::copyRect(_offscreenBuffer, 640, 0, 379, _convKitData, 152, 128, 59, 24, 21);
Graphics::copyRect(_offscreenBuffer, 640, dstX, 394, _convKitData, 152, 128, 46, 10, 6);