diff --git a/language.version b/language.version index 28a92de2e..7f30104ea 100644 --- a/language.version +++ b/language.version @@ -1,3 +1,3 @@ [default] -SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r949 \cu(Mon 4 Sep 14:08:18 CEST 2023)\c-"; -SWWM_SHORTVER="\cw1.3pre r949 \cu(2023-09-04 14:08:18)\c-"; +SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r950 \cu(Mon 4 Sep 14:21:31 CEST 2023)\c-"; +SWWM_SHORTVER="\cw1.3pre r950 \cu(2023-09-04 14:21:31)\c-"; diff --git a/zscript/player/swwm_player_fx.zsc b/zscript/player/swwm_player_fx.zsc index 74dee0ac2..7380f9b10 100644 --- a/zscript/player/swwm_player_fx.zsc +++ b/zscript/player/swwm_player_fx.zsc @@ -227,7 +227,8 @@ Class DemolitionistRadiusShockwave : Actor Spawn: XZW1 A 1 { - SetZ(floorz); + double diffz = clamp(floorz-pos.z,-speed,speed); + SetZ(pos.z+diffz); pitch = min(85,(pitch+2)*1.05); if ( !Random[ExploS](0,3) ) { @@ -249,7 +250,8 @@ Class DemolitionistRadiusShockwave : Actor Death: XZW1 A 1 { - SetZ(floorz); + double diffz = clamp(floorz-pos.z,-speed,speed); + SetZ(pos.z+diffz); A_FadeOut(.05); A_SetScale(scale.x*1.1,scale.y*.97); }