Fix backpack trimming in MAP07 not working.

This commit is contained in:
Mari the Deer 2021-03-25 15:06:40 +01:00
commit 6aa83cce52
2 changed files with 4 additions and 4 deletions

View file

@ -192,8 +192,8 @@ Class SWWMLevelCompatibility : LevelPostProcessor
// remove excess backpacks (there's 10 of them for fuck's sake)
for ( int i=0; i<GetThingCount(); i++ )
{
if ( GetThingID(i) != 8 ) continue;
if ( nbackpack ) SetThingID(i,0);
if ( GetThingEdNum(i) != 8 ) continue;
if ( nbackpack ) SetThingEdNum(i,0);
nbackpack++;
}
break;