Ticket #1191: save2.txt

File save2.txt, 658 bytes (added by Kirben, 19 years ago)

Updated patch

Line 
1Index: engines/scumm/saveload.cpp
2===================================================================
3--- engines/scumm/saveload.cpp (revision 20688)
4+++ engines/scumm/saveload.cpp (working copy)
5@@ -275,6 +275,12 @@
6 if (_screenTop < 0)
7 _screenTop = 0;
8
9+ // WORKAROUND bug #795214: Object 819 could be set to a state of 1 in old save games
10+ // Object 819 is part of the exit of the church and should not be drawn.
11+ if (hdr.ver < VER(59) && _gameId == GID_MONKEY_VGA) {
12+ putState(819, 0);
13+ }
14+
15 if (hdr.ver < VER(33) && _version >= 7) {
16 // For a long time, we didn't set these vars to default values.
17 VAR(VAR_DEFAULT_TALK_DELAY) = 60;