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

dreammaster dreammaster at scummvm.org
Sun Apr 1 21:22:11 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:
d0849b6d5e XEEN: Fix attribute colouring in Char Info dialog


Commit: d0849b6d5e358426a2da8fd085453713532c215f
    https://github.com/scummvm/scummvm/commit/d0849b6d5e358426a2da8fd085453713532c215f
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2018-04-01T15:22:08-04:00

Commit Message:
XEEN: Fix attribute colouring in Char Info dialog

Changed paths:
    engines/xeen/character.cpp


diff --git a/engines/xeen/character.cpp b/engines/xeen/character.cpp
index 85f0e53..1f53b2b 100644
--- a/engines/xeen/character.cpp
+++ b/engines/xeen/character.cpp
@@ -410,7 +410,7 @@ int Character::statColor(int amount, int threshold) {
 		return 2;
 	else if (amount == threshold)
 		return 15;
-	else if (amount <= (threshold / 4))
+	else if (amount >= (threshold / 4))
 		return 9;
 	else
 		return 32;





More information about the Scummvm-git-logs mailing list