[Scummvm-cvs-logs] scummvm master -> dc5fb91ab2b69d98119f8ca62b46efe889cc9854

dreammaster dreammaster at scummvm.org
Mon Oct 19 03:58:09 CEST 2015


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:
dc5fb91ab2 SHERLOCK: RT: Fix color of darts game power bar


Commit: dc5fb91ab2b69d98119f8ca62b46efe889cc9854
    https://github.com/scummvm/scummvm/commit/dc5fb91ab2b69d98119f8ca62b46efe889cc9854
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-10-18T21:57:26-04:00

Commit Message:
SHERLOCK: RT: Fix color of darts game power bar

Changed paths:
    engines/sherlock/tattoo/tattoo_darts.cpp



diff --git a/engines/sherlock/tattoo/tattoo_darts.cpp b/engines/sherlock/tattoo/tattoo_darts.cpp
index 640872e..274d80e 100644
--- a/engines/sherlock/tattoo/tattoo_darts.cpp
+++ b/engines/sherlock/tattoo/tattoo_darts.cpp
@@ -30,7 +30,8 @@ namespace Tattoo {
 
 enum {
 	DART_COLOR_FORE	= 5,
-	PLAYER_COLOR	= 11
+	PLAYER_COLOR	= 11,
+	DART_BAR_FORE	= 208
 };
 
 static const int STATUS_INFO_X = 430;
@@ -921,7 +922,7 @@ int Darts::throwDart(int dartNum, int computer) {
 	if (_escapePressed)
 		return 0;
 
-	height = doPowerBar(Common::Point(DART_BAR_VX, DART_HEIGHT_Y), DART_COLOR_FORE, targetPos.y, 1);
+	height = doPowerBar(Common::Point(DART_BAR_VX, DART_HEIGHT_Y), DART_BAR_FORE, targetPos.y, 1);
 	if (_escapePressed)
 		return 0;
 






More information about the Scummvm-git-logs mailing list