aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2009-08-09 07:16:08 +0000
committerTravis Howell2009-08-09 07:16:08 +0000
commitc14ee974e764d86a649591a13504db22cc72ecc0 (patch)
tree3793971d3feb802d830d89ac46fcef265fd369d8
parent5f53ec3b294b3f2cccab94ff400bec70ab3504b8 (diff)
downloadscummvm-rg350-c14ee974e764d86a649591a13504db22cc72ecc0.tar.gz
scummvm-rg350-c14ee974e764d86a649591a13504db22cc72ecc0.tar.bz2
scummvm-rg350-c14ee974e764d86a649591a13504db22cc72ecc0.zip
Fix bug #2834260 - ELVIRA1: Graphic glitch when bird takes off.
svn-id: r43163
-rw-r--r--engines/agos/vga.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agos/vga.cpp b/engines/agos/vga.cpp
index d37681508e..7855d0e805 100644
--- a/engines/agos/vga.cpp
+++ b/engines/agos/vga.cpp
@@ -1258,7 +1258,7 @@ void AGOSEngine::clearVideoWindow(uint16 num, uint16 color) {
dst += screen->pitch;
}
_system->unlockScreen();
- } else if (num == 4) {
+ } else {
const uint16 *vlut = &_videoWindows[num * 4];
uint16 xoffs = (vlut[0] - _videoWindows[16]) * 16;
uint16 yoffs = (vlut[1] - _videoWindows[17]);