aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2009-03-29 11:56:32 +0000
committerFilippos Karapetis2009-03-29 11:56:32 +0000
commit09d96e24f95d97e69b168e791e5bfe55c7668f36 (patch)
treed49035f6d5937dbcc7e8d94a6f14c455ee06bee6 /engines
parente930f4c79238cd84191e21e5ffe52a5521b0eb87 (diff)
downloadscummvm-rg350-09d96e24f95d97e69b168e791e5bfe55c7668f36.tar.gz
scummvm-rg350-09d96e24f95d97e69b168e791e5bfe55c7668f36.tar.bz2
scummvm-rg350-09d96e24f95d97e69b168e791e5bfe55c7668f36.zip
Fixed the colors of the window frames in KQ5
svn-id: r39734
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/kgraphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp
index 58287fb66a..4749655b55 100644
--- a/engines/sci/engine/kgraphics.cpp
+++ b/engines/sci/engine/kgraphics.cpp
@@ -497,7 +497,7 @@ reg_t kGraph(EngineState *s, int funct_nr, int argc, reg_t *argv) {
case K_GRAPH_DRAW_LINE: {
- gfx_color_t gfxcolor = graph_map_color(s, SKPV(5) & 0xf, SKPV_OR_ALT(6, -1), SKPV_OR_ALT(7, -1));
+ gfx_color_t gfxcolor = graph_map_color(s, SKPV(5), SKPV_OR_ALT(6, -1), SKPV_OR_ALT(7, -1));
SCIkdebug(SCIkGRAPHICS, "draw_line((%d, %d), (%d, %d), col=%d, p=%d, c=%d, mask=%d)\n",
SKPV(2), SKPV(1), SKPV(4), SKPV(3), SKPV(5), SKPV_OR_ALT(6, -1), SKPV_OR_ALT(7, -1), gfxcolor.mask);