diff options
author | Jamieson Christian | 2003-08-30 02:38:39 +0000 |
---|---|---|
committer | Jamieson Christian | 2003-08-30 02:38:39 +0000 |
commit | cf3de3784b822e303ab2cf3c3d537aaf3c83f8b1 (patch) | |
tree | 9ea6560eabb3d3a53917b6db81f99c2d037e9d8d | |
parent | f2e8033edc249543c539dbbfea9c1c3665ea8422 (diff) | |
download | scummvm-rg350-cf3de3784b822e303ab2cf3c3d537aaf3c83f8b1.tar.gz scummvm-rg350-cf3de3784b822e303ab2cf3c3d537aaf3c83f8b1.tar.bz2 scummvm-rg350-cf3de3784b822e303ab2cf3c3d537aaf3c83f8b1.zip |
Fixed bad AND operator. May invalidate savegames from the last 24 hours
svn-id: r9914
-rw-r--r-- | scumm/saveload.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/saveload.cpp b/scumm/saveload.cpp index f969712861..53e6ba4c4b 100644 --- a/scumm/saveload.cpp +++ b/scumm/saveload.cpp @@ -614,7 +614,7 @@ void Scumm::saveOrLoad(Serializer *s, uint32 savegameVersion) { if (_shadowPaletteSize) { s->saveLoadArrayOf(_shadowPalette, _shadowPaletteSize, 1, sleByte); // _roomPalette didn't show up until V21 save games - if (savegameVersion >= VER(21) & _version < 5) + if (savegameVersion >= VER(21) && _version < 5) s->saveLoadArrayOf (_roomPalette, _shadowPaletteSize, 1, sleByte); } |