BIG OOPSIE WENT UNNOTICED

This commit is contained in:
Mari the Deer 2021-08-07 23:17:38 +02:00
commit fc549703fa
2 changed files with 3 additions and 3 deletions

View file

@ -1,3 +1,3 @@
[default]
SWWM_MODVER="\chSWWM \czGZ\c- \cw0.9.11b-pre r585 \cu(Thu 5 Aug 22:02:35 CEST 2021)\c-";
SWWM_SHORTVER="\cw0.9.11b-pre r585 \cu(2021-08-05 22:02:35)\c-";
SWWM_MODVER="\chSWWM \czGZ\c- \cw0.9.11b-pre r586 \cu(Sat 7 Aug 23:17:38 CEST 2021)\c-";
SWWM_SHORTVER="\cw0.9.11b-pre r586 \cu(2021-08-07 23:17:38)\c-";

View file

@ -34,7 +34,7 @@ Class SpreadgunTracer : LineTracer
// getgibhealth isn't clearscope, fuck
int gibh = (Results.HitActor.GibHealth!=int.min)?Results.HitActor.GibHealth:int(Results.HitActor.GetSpawnHealth()*gameinfo.gibfactor);
// if gibbed, go through without dealing more damage
if ( Results.HitActor.health-amt <= -gibhealth ) return TRACE_Skip;
if ( Results.HitActor.health-amt <= -gibh ) return TRACE_Skip;
let ent = new("HitListEntry");
ent.hitactor = Results.HitActor;
ent.hitlocation = Results.HitPos;