aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/game.cpp b/engines/sci/engine/game.cpp
index 6e8ae787df..1ebb68f81e 100644
--- a/engines/sci/engine/game.cpp
+++ b/engines/sci/engine/game.cpp
@@ -67,7 +67,6 @@ static int _init_vocabulary(EngineState *s) { // initialize vocabulary and relat
}
extern int _allocd_rules;
-gfx_color_t black = { PaletteEntry(0, 0, 0), 0, 0, 0, GFX_MASK_VISUAL };
int _reset_graphics_input(EngineState *s) {
Resource *resource;
@@ -87,6 +86,7 @@ int _reset_graphics_input(EngineState *s) {
}
} else {
// Allocate SCI1 system colors
+ gfx_color_t black = { PaletteEntry(0, 0, 0), 0, 0, 0, GFX_MASK_VISUAL };
gfxop_set_system_color(s->gfx_state, 0, &black);
// Check for Amiga palette file.