aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2012-01-20 12:21:41 +1100
committerStrangerke2012-04-06 08:20:08 +0200
commite3308ce3b54732197049461183194f2532c4c5bb (patch)
tree61d54561cdb217281c0cf3f53bb7bb6e0a888080
parent1c1f58ec5d3fc75eb420bbfbbd405b1e56092137 (diff)
downloadscummvm-rg350-e3308ce3b54732197049461183194f2532c4c5bb.tar.gz
scummvm-rg350-e3308ce3b54732197049461183194f2532c4c5bb.tar.bz2
scummvm-rg350-e3308ce3b54732197049461183194f2532c4c5bb.zip
MORTEVIELLE: Correct ScreenSurface::fillBox to use the passed colour
-rw-r--r--engines/mortevielle/graphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mortevielle/graphics.cpp b/engines/mortevielle/graphics.cpp
index 0bc3b77804..f751bc2422 100644
--- a/engines/mortevielle/graphics.cpp
+++ b/engines/mortevielle/graphics.cpp
@@ -990,7 +990,7 @@ void ScreenSurface::fillBox(int colour, const Common::Rect &bounds, int patt) {
bounds.right, bounds.bottom * 2));
// Fill the area
- destSurface.fillRect(Common::Rect(0, 0, destSurface.w, destSurface.h), 0);
+ destSurface.fillRect(Common::Rect(0, 0, destSurface.w, destSurface.h), colour);
// TODO: Figure out what effect patterns of other than '0xff' have
if (patt != 0xff)