aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/display.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hugo/display.cpp')
-rw-r--r--engines/hugo/display.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/hugo/display.cpp b/engines/hugo/display.cpp
index 827c1dd2f2..4500a11fa3 100644
--- a/engines/hugo/display.cpp
+++ b/engines/hugo/display.cpp
@@ -158,12 +158,14 @@ void Screen::restorePal(Common::SeekableReadStream *f) {
/**
-* Set the new background color
+* Set the new background color.
+* This implementation gives the same result than the DOS version.
+* It wasn't implemented in the Win version
*/
void Screen::setBackgroundColor(long color) {
debugC(1, kDebugDisplay, "setBackgroundColor(%ld)", color);
- // How??? Translate existing pixels in dib before objects rendered?
+ remapPal(0, color);
}
/**