(svn r21284) -Codechange: Rename CheckSavegameVersion() to IsSavegameVersionBefore().
This commit is contained in:
@@ -52,7 +52,7 @@ static void Ptrs_OBJS()
|
||||
Object *o;
|
||||
FOR_ALL_OBJECTS(o) {
|
||||
SlObject(o, _object_desc);
|
||||
if (CheckSavegameVersion(148) && !IsTileType(o->location.tile, MP_OBJECT)) {
|
||||
if (IsSavegameVersionBefore(148) && !IsTileType(o->location.tile, MP_OBJECT)) {
|
||||
/* Due to a small bug stale objects could remain. */
|
||||
delete o;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user