Fix backpack trimming in MAP07 not working.
This commit is contained in:
parent
e6f3506814
commit
6aa83cce52
2 changed files with 4 additions and 4 deletions
|
|
@ -1,3 +1,3 @@
|
|||
[default]
|
||||
SWWM_MODVER="\chSWWM \czGZ\c- \cw0.9.11b-pre r405 \cu(Wed 24 Mar 19:45:48 CET 2021)\c-";
|
||||
SWWM_SHORTVER="\cw0.9.11b-pre r405 \cu(2021-03-24 19:45:48)\c-";
|
||||
SWWM_MODVER="\chSWWM \czGZ\c- \cw0.9.11b-pre r406 \cu(Thu 25 Mar 15:06:40 CET 2021)\c-";
|
||||
SWWM_SHORTVER="\cw0.9.11b-pre r406 \cu(2021-03-25 15:06:40)\c-";
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue