Today I learned that SPAC_Impact lines can still be activated by hitscan that crosses through them and this is intended vanilla behavior.
This commit is contained in:
parent
061829bb8f
commit
41fe50886c
6 changed files with 15 additions and 14 deletions
|
|
@ -1370,7 +1370,7 @@ Class SWWMBulletTrail : LineTracer
|
|||
Array<Line> ShootThroughList;
|
||||
Actor ignoreme;
|
||||
|
||||
static play void DoTrail( Actor target, Vector3 pos, Vector3 dir, int dist, int bubblechance, bool smoky = false )
|
||||
static play void DoTrail( Actor target, Vector3 pos, Vector3 dir, double dist, int bubblechance, bool smoky = false )
|
||||
{
|
||||
let t = new("SWWMBulletTrail");
|
||||
t.ignoreme = target;
|
||||
|
|
@ -1379,9 +1379,9 @@ Class SWWMBulletTrail : LineTracer
|
|||
t.Trace(pos,level.PointInSector(pos.xy),dir,dist,0);
|
||||
for ( int i=0; i<t.ShootThroughList.Size(); i++ )
|
||||
{
|
||||
// have to do both because WOW, HOW THE FUCK IS THIS INTENTIONAL???
|
||||
t.ShootThroughList[i].Activate(target,0,SPAC_PCross);
|
||||
if ( t.ShootThroughList[i].special == GlassBreak ) // fuck glass
|
||||
t.ShootThroughList[i].Activate(target,0,SPAC_Impact);
|
||||
t.ShootThroughList[i].Activate(target,0,SPAC_Impact);
|
||||
}
|
||||
for ( int i=0; i<t.WaterHitList.Size(); i++ )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue