- moved BFGSplash damage type to BFGExtra actor so that it can be replaced.

SVN r2808 (trunk)
This commit is contained in:
Christoph Oelckers 2010-09-17 13:22:39 +00:00
parent e385de010d
commit 46b3bb8e41
2 changed files with 2 additions and 1 deletions

View file

@ -586,7 +586,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_BFGSpray)
damage += (pr_bfgspray() & 7) + 1; damage += (pr_bfgspray() & 7) + 1;
thingToHit = linetarget; thingToHit = linetarget;
P_DamageMobj (thingToHit, self->target, self->target, damage, NAME_BFGSplash); P_DamageMobj (thingToHit, self->target, self->target, damage, spray->DamageType);
P_TraceBleed (damage, thingToHit, self->target); P_TraceBleed (damage, thingToHit, self->target);
} }
} }

View file

@ -587,6 +587,7 @@ ACTOR BFGExtra
+NOGRAVITY +NOGRAVITY
RenderStyle Add RenderStyle Add
Alpha 0.75 Alpha 0.75
DamageType "BFGSplash"
States States
{ {
Spawn: Spawn: