aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Frühwirth2018-04-20 22:59:40 +0200
committerAdrian Frühwirth2018-04-20 23:00:44 +0200
commitfa1b23889a19bc6bd62dd2c9171206ce4b6135af (patch)
treee4d6cc6e9e12fdded8bb86e8c23876be3be53505
parent56db8c626eb095fc21a4648e7cc79f7ed0bd1260 (diff)
downloadscummvm-rg350-fa1b23889a19bc6bd62dd2c9171206ce4b6135af.tar.gz
scummvm-rg350-fa1b23889a19bc6bd62dd2c9171206ce4b6135af.tar.bz2
scummvm-rg350-fa1b23889a19bc6bd62dd2c9171206ce4b6135af.zip
TUCKER: Draw text only when hovering over hotspots when using the map
-rw-r--r--engines/tucker/sequences.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/tucker/sequences.cpp b/engines/tucker/sequences.cpp
index 711818122f..fd66c4f49c 100644
--- a/engines/tucker/sequences.cpp
+++ b/engines/tucker/sequences.cpp
@@ -326,8 +326,9 @@ void TuckerEngine::handleMapSequence() {
copyMapRect(220, 0, 100, 180);
}
_fadePaletteCounter = 0;
- int xPos = 0, yPos = 0, textNum = 0;
+ int xPos = 0, yPos = 0;
while (!_quitGame) {
+ int textNum = 0;
waitForTimer(2);
updateMouseState();
Graphics::copyRect(_locationBackgroundGfxBuf + _scrollOffset, 640, _quadBackgroundGfxBuf + 89600, 320, 320, 200);