diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/supernova/supernova.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/supernova/supernova.cpp b/engines/supernova/supernova.cpp index 4a4ede6ff5..e5a943f9b5 100644 --- a/engines/supernova/supernova.cpp +++ b/engines/supernova/supernova.cpp @@ -481,7 +481,7 @@ void SupernovaEngine::renderText(const char *text) { void SupernovaEngine::renderBox(int x, int y, int width, int height, byte color) { Graphics::Surface *screen = _system->lockScreen(); - screen->fillRect(Common::Rect(x, y, width, height), color); + screen->fillRect(Common::Rect(x, y, x + width, y + height), color); _system->unlockScreen(); } |