From 66ba9343987d67e8bf8e1742fcf139dee95a8448 Mon Sep 17 00:00:00 2001 From: athrxx Date: Mon, 13 Feb 2012 01:04:48 +0100 Subject: KYRA: (EOB) - fix minor glitch in hp and food bar graphs --- engines/kyra/gui_rpg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/kyra/gui_rpg.cpp') 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) { -- cgit v1.2.3