[Scummvm-git-logs] scummvm master -> fa1b23889a19bc6bd62dd2c9171206ce4b6135af

bonki bonki at users.noreply.github.com
Fri Apr 20 23:05:37 CEST 2018


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
fa1b23889a TUCKER: Draw text only when hovering over hotspots when using the map


Commit: fa1b23889a19bc6bd62dd2c9171206ce4b6135af
    https://github.com/scummvm/scummvm/commit/fa1b23889a19bc6bd62dd2c9171206ce4b6135af
Author: Adrian Frühwirth (bonki at users.noreply.github.com)
Date: 2018-04-20T23:00:44+02:00

Commit Message:
TUCKER: Draw text only when hovering over hotspots when using the map

Changed paths:
    engines/tucker/sequences.cpp


diff --git a/engines/tucker/sequences.cpp b/engines/tucker/sequences.cpp
index 7118181..fd66c4f 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);





More information about the Scummvm-git-logs mailing list