fix off by one bug in gfxUsageBits code; fixed small glitch the actor iteration cleanup

svn-id: r6485
This commit is contained in:
Max Horn 2003-01-16 18:07:52 +00:00
parent 4e07c1bb91
commit 2eff7e2242
3 changed files with 16 additions and 7 deletions

View file

@ -580,8 +580,7 @@ void Scumm::saveOrLoad(Serializer *s, uint32 savegameVersion)
if (!s->isSaving() && savegameVersion < VER_V13) {
// Since roughly v13 of the save games, the objs storage has changed a bit
for (i = _numObjectsInRoom; i < _numLocalObjects; i++) {
if (_objs[i].fl_object_index == 0)
_objs[i].obj_nr = 0;
_objs[i].obj_nr = 0;
}
}