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