aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {