Fix Trace call using arguments exclusive to 4.11+.
(This is why you don't copy code verbatim between branches)
This commit is contained in:
parent
6dee65ef2f
commit
d4a5ae161a
2 changed files with 3 additions and 3 deletions
|
|
@ -1,3 +1,3 @@
|
|||
[default]
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r736 \cu(Fri 20 Jan 22:38:45 CET 2023)\c-";
|
||||
SWWM_SHORTVER="\cw1.3pre r736 \cu(2023-01-20 22:38:45)\c-";
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r737 \cu(Sat 21 Jan 00:16:53 CET 2023)\c-";
|
||||
SWWM_SHORTVER="\cw1.3pre r737 \cu(2023-01-21 00:16:53)\c-";
|
||||
|
|
|
|||
|
|
@ -188,7 +188,7 @@ extend Class Demolitionist
|
|||
if ( !mtrace ) mtrace = new("SWWMMirrorTracer");
|
||||
Vector3 dir = SWWMUtility.GetPlayerAimDir(self);
|
||||
Vector3 origin = SWWMUtility.GetPlayerEye(self);
|
||||
mtrace.Trace(origin,level.PointInSector(origin.xy),dir,UseRange,0,ignoreallactors:true);
|
||||
mtrace.Trace(origin,level.PointInSector(origin.xy),dir,UseRange,0);
|
||||
if ( mtrace.Results.HitType != TRACE_HitWall ) return false;
|
||||
// there's a mirror here
|
||||
if ( (gametic > mirrorcooldown) && (swwm_mutevoice < 2) )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue