This commit is contained in:
Mari the Deer 2022-08-16 21:26:45 +02:00
commit a49548800e
2 changed files with 3 additions and 3 deletions

View file

@ -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-";

View file

@ -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<Inventory> cls = item.GetClass();
if ( item is 'Ammo' ) cls = Ammo(item).GetParentAmmo();
else if ( item is 'MaGammo' ) cls = MagAmmo(item).GetParentMagAmmo();