diff --git a/language.version b/language.version index a054fce78..a183a4239 100644 --- a/language.version +++ b/language.version @@ -1,3 +1,3 @@ [default] -SWWM_MODVER="\chSWWM \czGZ\c- \cw0.9.11b-pre r519 \cu(Tue 1 Jun 16:51:13 CEST 2021)\c-"; -SWWM_SHORTVER="\cw0.9.11b-pre r519 \cu(2021-06-01 16:51:13)\c-"; +SWWM_MODVER="\chSWWM \czGZ\c- \cw0.9.11b-pre r520 \cu(Tue 1 Jun 16:52:02 CEST 2021)\c-"; +SWWM_SHORTVER="\cw0.9.11b-pre r520 \cu(2021-06-01 16:52:02)\c-"; diff --git a/zscript/swwm_common_fx.zsc b/zscript/swwm_common_fx.zsc index 00473a801..e3e480a3a 100644 --- a/zscript/swwm_common_fx.zsc +++ b/zscript/swwm_common_fx.zsc @@ -1237,6 +1237,8 @@ Class SWWMShadow : Actor if ( other is 'SWWMShadow' ) return; // no shadows for overlay actors if ( other is 'GhostArtifactX' ) return; + // no shadows for things with zero radius + if ( other.radius <= 0. ) return; let s = SWWMShadow(Spawn("SWWMShadow",other.pos)); s.target = other; s.Update(true);