aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTravis Howell2006-10-21 10:50:19 +0000
committerTravis Howell2006-10-21 10:50:19 +0000
commit10f2c7cc57708dca04b8e9d434440fc28f9177de (patch)
tree2019d4cd39526979ca681b88a0bf9d81649fccfa /engines
parent8b75b8f2ee27a26ec30cb3ace23c54d58746bcc4 (diff)
downloadscummvm-rg350-10f2c7cc57708dca04b8e9d434440fc28f9177de.tar.gz
scummvm-rg350-10f2c7cc57708dca04b8e9d434440fc28f9177de.tar.bz2
scummvm-rg350-10f2c7cc57708dca04b8e9d434440fc28f9177de.zip
Fix regression, due to lost code
svn-id: r24401
Diffstat (limited to 'engines')
-rw-r--r--engines/agos/vga.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/agos/vga.cpp b/engines/agos/vga.cpp
index 95587b1753..e398fa2dd4 100644
--- a/engines/agos/vga.cpp
+++ b/engines/agos/vga.cpp
@@ -449,6 +449,8 @@ void AGOSEngine::vc3_loadSprite() {
y = vcReadNextWord(); /* 6 */
palette = vcReadNextWord(); /* 8 */
+ old_file_1 = _curVgaFile1;
+
animate(windowNum, zoneNum, vgaSpriteId, x, y, palette, false);
_curVgaFile1 = old_file_1;
@@ -1818,7 +1820,6 @@ void AGOSEngine::setImage(uint16 vga_res_id, bool setZone) {
loadZone(zoneNum);
} else {
-
if (vpe->vgaFile1 != NULL)
break;
if (_zoneNumber != zoneNum)