From c5457f974730fda7b95224e2e55f2bfeb6db9dac Mon Sep 17 00:00:00 2001 From: Marisa the Magician Date: Thu, 25 Aug 2022 20:39:14 +0200 Subject: [PATCH] Small code cleanup --- language.version | 4 ++-- zscript/utility/swwm_utility.zsc | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/language.version b/language.version index ac3e6171c..108ad67f1 100644 --- a/language.version +++ b/language.version @@ -1,3 +1,3 @@ [default] -SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r372 \cu(Thu 25 Aug 20:03:54 CEST 2022)\c-"; -SWWM_SHORTVER="\cw1.3pre r372 \cu(2022-08-25 20:03:54)\c-"; +SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r374 \cu(Thu 25 Aug 20:39:32 CEST 2022)\c-"; +SWWM_SHORTVER="\cw1.3pre r374 \cu(2022-08-25 20:39:32)\c-"; diff --git a/zscript/utility/swwm_utility.zsc b/zscript/utility/swwm_utility.zsc index c33c73033..5de1d14fa 100644 --- a/zscript/utility/swwm_utility.zsc +++ b/zscript/utility/swwm_utility.zsc @@ -1218,7 +1218,7 @@ Class SWWMUtility if ( !(flags&DE_THRUWALLS) && !Source.CheckSight(a,SF_IGNOREVISIBILITY|SF_IGNOREWATERBOUNDARY) ) continue; // intersecting? - if ( !SWWMUtility.SphereIntersect(a,Source.pos,ExplosionRadius) ) + if ( !SphereIntersect(a,Source.pos,ExplosionRadius) ) continue; // calculate factor Vector3 dir; @@ -1282,7 +1282,7 @@ Class SWWMUtility for ( int i=0; i