diff options
author | Max Horn | 2002-11-22 21:08:59 +0000 |
---|---|---|
committer | Max Horn | 2002-11-22 21:08:59 +0000 |
commit | 9297d012c9c6cb24fc3b4f14f71bafe7ba2760d7 (patch) | |
tree | 9121f1f63ea9b096ef8f722f0c6f4db9cb326fd7 /scumm/script_v1.cpp | |
parent | de4c3079ca63c33129b33f0adebc35cda98ede2b (diff) | |
download | scummvm-rg350-9297d012c9c6cb24fc3b4f14f71bafe7ba2760d7.tar.gz scummvm-rg350-9297d012c9c6cb24fc3b4f14f71bafe7ba2760d7.tar.bz2 scummvm-rg350-9297d012c9c6cb24fc3b4f14f71bafe7ba2760d7.zip |
fix for bug #602351 (to many fades in Zak256)
svn-id: r5695
Diffstat (limited to 'scumm/script_v1.cpp')
-rw-r--r-- | scumm/script_v1.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scumm/script_v1.cpp b/scumm/script_v1.cpp index d5905ed76c..ad90af8ade 100644 --- a/scumm/script_v1.cpp +++ b/scumm/script_v1.cpp @@ -1284,7 +1284,11 @@ void Scumm::o5_loadRoom() int room; room = getVarOrDirectByte(0x80); - startScene(room, 0, 0); + + // FIXME - the following 'if' is needed for Zak256 and MonkeyVGA, but might + // cause regression in other games. + if (room != _currentRoom) + startScene(room, 0, 0); _fullRedraw = 1; } |