aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorathrxx2012-02-13 01:04:48 +0100
committerathrxx2012-02-21 21:48:38 +0100
commit66ba9343987d67e8bf8e1742fcf139dee95a8448 (patch)
treef422434c54aaee9ed925deda42ed94c929645b83
parentd192fed3b52ec36abaf0f2d85158ddb28ee69fb1 (diff)
downloadscummvm-rg350-66ba9343987d67e8bf8e1742fcf139dee95a8448.tar.gz
scummvm-rg350-66ba9343987d67e8bf8e1742fcf139dee95a8448.tar.bz2
scummvm-rg350-66ba9343987d67e8bf8e1742fcf139dee95a8448.zip
KYRA: (EOB) - fix minor glitch in hp and food bar graphs
-rw-r--r--engines/kyra/gui_rpg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/gui_rpg.cpp b/engines/kyra/gui_rpg.cpp
index 718722f58d..a8b94032d0 100644
--- a/engines/kyra/gui_rpg.cpp
+++ b/engines/kyra/gui_rpg.cpp
@@ -72,7 +72,7 @@ void KyraRpgEngine::gui_drawHorizontalBarGraph(int x, int y, int w, int h, int32
screen()->fillRect(x, y, x + t - 1, y + h, col1);
if (t < w && col2)
- screen()->fillRect(x + t, y, x + w, y + h, col2);
+ screen()->fillRect(x + t, y, x + w - 1, y + h, col2);
}
void KyraRpgEngine::gui_initButtonsFromList(const int16 *list) {