- fixed: level.flags2 was not stored in savegames. Also bumped min. savegame

version and removed old compatibility handlings.

SVN r1448 (trunk)
This commit is contained in:
Christoph Oelckers 2009-02-25 22:10:06 +00:00
commit 2c65d5b8f5
5 changed files with 9 additions and 16 deletions

View file

@ -2010,15 +2010,8 @@ static FArchive &operator<<(FArchive &arc, FSoundChan &chan)
<< chan.StartTime
<< chan.Rolloff.RolloffType
<< chan.Rolloff.MinDistance
<< chan.Rolloff.MaxDistance;
if (SaveVersion >= 1416)
{
arc << chan.LimitRange;
}
else
{
chan.LimitRange = 256*256;
<< chan.Rolloff.MaxDistance
<< chan.LimitRange;
}
if (arc.IsLoading())