aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorMartin Kiewitz2010-04-20 19:37:58 +0000
committerMartin Kiewitz2010-04-20 19:37:58 +0000
commit2242ee33ac8847d503ec52bada4503830f60708a (patch)
treeb44af86bc8540bd3c9a1d02723757d75ebbe87e1 /engines/sci
parentf3be0bc181facc6600b4ddc496dc6bdb23dc9891 (diff)
downloadscummvm-rg350-2242ee33ac8847d503ec52bada4503830f60708a.tar.gz
scummvm-rg350-2242ee33ac8847d503ec52bada4503830f60708a.tar.bz2
scummvm-rg350-2242ee33ac8847d503ec52bada4503830f60708a.zip
SCI: get color white instead of hardcoded 255 inside openPort(), fixes not working inverting of button controls on qfg1ega character stats screen
svn-id: r48755
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/graphics/ports.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/ports.cpp b/engines/sci/graphics/ports.cpp
index aed867b604..7dddbbb55c 100644
--- a/engines/sci/graphics/ports.cpp
+++ b/engines/sci/graphics/ports.cpp
@@ -410,7 +410,7 @@ void GfxPorts::openPort(Port *port) {
port->left = 0;
port->greyedOutput = false;
port->penClr = 0;
- port->backClr = 255;
+ port->backClr = _screen->getColorWhite();
port->penMode = 0;
port->rect = _bounds;
}