SUPERNOVA: Fixes parameters passed to fillRect()
This commit is contained in:
parent
4a68aef1d6
commit
2c17586c76
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue