aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2018-04-01 15:22:08 -0400
committerPaul Gilbert2018-04-01 15:22:08 -0400
commitd0849b6d5e358426a2da8fd085453713532c215f (patch)
tree6827d55fa6a7c7fe39cfef3cd80f555db2db5c82 /engines
parentd8a8a5741166e6114ba31ecd8af03baaa0f88b91 (diff)
downloadscummvm-rg350-d0849b6d5e358426a2da8fd085453713532c215f.tar.gz
scummvm-rg350-d0849b6d5e358426a2da8fd085453713532c215f.tar.bz2
scummvm-rg350-d0849b6d5e358426a2da8fd085453713532c215f.zip
XEEN: Fix attribute colouring in Char Info dialog
Diffstat (limited to 'engines')
-rw-r--r--engines/xeen/character.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/character.cpp b/engines/xeen/character.cpp
index 85f0e536b3..1f53b2bbfe 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;