diff options
author | athrxx | 2012-02-13 01:04:48 +0100 |
---|---|---|
committer | athrxx | 2012-02-21 21:48:38 +0100 |
commit | 66ba9343987d67e8bf8e1742fcf139dee95a8448 (patch) | |
tree | f422434c54aaee9ed925deda42ed94c929645b83 | |
parent | d192fed3b52ec36abaf0f2d85158ddb28ee69fb1 (diff) | |
download | scummvm-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.cpp | 2 |
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) { |