diff options
Diffstat (limited to 'engines/agos/agos.cpp')
-rw-r--r-- | engines/agos/agos.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/agos/agos.cpp b/engines/agos/agos.cpp index 7e8b561a31..bd4f6ebebb 100644 --- a/engines/agos/agos.cpp +++ b/engines/agos/agos.cpp @@ -559,7 +559,7 @@ int AGOSEngine::init() { return 0; } -const static uint16 initialVideoWindows_Simon[20] = { +static const uint16 initialVideoWindows_Simon[20] = { 0, 0, 20, 200, 0, 0, 3, 136, 17, 0, 3, 136, @@ -567,7 +567,7 @@ const static uint16 initialVideoWindows_Simon[20] = { 0, 0, 20, 134 }; -const static uint16 initialVideoWindows_Common[20] = { +static const uint16 initialVideoWindows_Common[20] = { 3, 0, 14, 136, 0, 0, 3, 136, 17, 0, 3, 136, @@ -1765,6 +1765,8 @@ void AGOSEngine::set_video_mode_internal(uint16 mode, uint16 vga_res_id) { } } + clearWindow(_windowNum, READ_BE_UINT16(&((ImageHeader_WW *) b)->color)); + vc_ptr_org = _vcPtr; if (getGameType() == GType_FF || getGameType() == GType_PP) { |