diff --git a/language.version b/language.version index 2c87eea4e..cc7d02790 100644 --- a/language.version +++ b/language.version @@ -1,3 +1,3 @@ [default] -SWWM_MODVER="\chSWWM \czGZ\c- \cw1.1.10 \cu(Mon 27 Sep 12:29:21 CEST 2021)\c-"; -SWWM_SHORTVER="\cw1.1.10 \cu(2021-09-27 12:29:21)\c-"; +SWWM_MODVER="\chSWWM \czGZ\c- \cw1.1.10 \cu(Tue 28 Sep 14:26:51 CEST 2021)\c-"; +SWWM_SHORTVER="\cw1.1.10 \cu(2021-09-28 14:26:51)\c-"; diff --git a/zscript/compat/swwm_compat.zsc b/zscript/compat/swwm_compat.zsc index 47e2a8ae8..a498bf428 100644 --- a/zscript/compat/swwm_compat.zsc +++ b/zscript/compat/swwm_compat.zsc @@ -332,7 +332,7 @@ Class SWWMLevelCompatibility : LevelPostProcessor case '959A613006CC3AA912C4A22908B7566A': // add collectibles for ( int i=0; i<12; i++ ) - AddThing(4206900+i,(1472+64*i,640,0),SKILLS_ALL,MTF_SINGLE|MTF_COOPERATIVE); + AddThing(4206900+i,(1472+64*i,640,0),0,SKILLS_ALL,MTF_SINGLE|MTF_COOPERATIVE); // add some chance boxes for ( int i=0; i<3; i++ ) AddThing(4206920,(3616,1824-64*i,0),180,SKILLS_ALL,MTF_SINGLE|MTF_COOPERATIVE); diff --git a/zscript/items/swwm_funstuff.zsc b/zscript/items/swwm_funstuff.zsc index 1d0fa4474..054ee693d 100644 --- a/zscript/items/swwm_funstuff.zsc +++ b/zscript/items/swwm_funstuff.zsc @@ -719,6 +719,9 @@ Class ChanceboxSpawner : Actor if ( deathmatch ) { // not in DM + let b = Spawn("HealthNuggetItem",pos); + SWWMUtility.TransferItemProp(self,b); + ClearCounters(); Destroy(); return; } @@ -728,6 +731,9 @@ Class ChanceboxSpawner : Actor if ( numbox >= 3 ) { // there's three boxes in the map already + let b = Spawn("HealthNuggetItem",pos); + SWWMUtility.TransferItemProp(self,b); + ClearCounters(); Destroy(); return; } @@ -748,6 +754,9 @@ Class ChanceboxSpawner : Actor if ( tbox[1] > l.bbox[0] ) continue; if ( SWWMUtility.BoxOnLineSide(tbox[0],tbox[1],tbox[2],tbox[3],l) != -1 ) continue; // there isn't enough space to spawn a box here + let b = Spawn("HealthNuggetItem",pos); + SWWMUtility.TransferItemProp(self,b); + ClearCounters(); Destroy(); return; }