From a49548800e79c8214232433f52ae453ecb1c16bc Mon Sep 17 00:00:00 2001 From: Marisa the Magician Date: Tue, 16 Aug 2022 21:26:45 +0200 Subject: [PATCH] OOPS --- language.version | 4 ++-- zscript/swwm_player_fx.zsc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/language.version b/language.version index 780b53a95..49c27cc36 100644 --- a/language.version +++ b/language.version @@ -1,3 +1,3 @@ [default] -SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r328 \cu(Tue 16 Aug 21:16:22 CEST 2022)\c-"; -SWWM_SHORTVER="\cw1.3pre r328 \cu(2022-08-16 21:16:22)\c-"; +SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r329 \cu(Tue 16 Aug 21:26:45 CEST 2022)\c-"; +SWWM_SHORTVER="\cw1.3pre r329 \cu(2022-08-16 21:26:45)\c-"; diff --git a/zscript/swwm_player_fx.zsc b/zscript/swwm_player_fx.zsc index a344d2e8a..cb5fbcc37 100644 --- a/zscript/swwm_player_fx.zsc +++ b/zscript/swwm_player_fx.zsc @@ -233,7 +233,7 @@ Class SWWMMagItem play bool Tick() { if ( !target || (target.Health <= 0) ) return true; - if ( !item || item.Owner || !item.bSPECIAL || item.bINVISIBLE || !SWWMUtility.SphereIntersect(t,pos,800) || !target.CheckSight(item,SF_IGNOREVISIBILITY|SF_IGNOREWATERBOUNDARY) ) return true; + if ( !item || item.Owner || !item.bSPECIAL || item.bINVISIBLE || !SWWMUtility.SphereIntersect(target,item.pos,800) || !target.CheckSight(item,SF_IGNOREVISIBILITY|SF_IGNOREWATERBOUNDARY) ) return true; Class cls = item.GetClass(); if ( item is 'Ammo' ) cls = Ammo(item).GetParentAmmo(); else if ( item is 'MaGammo' ) cls = MagAmmo(item).GetParentMagAmmo();