mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-15 16:51:31 +00:00
- moved BFGSplash damage type to BFGExtra actor so that it can be replaced.
SVN r2808 (trunk)
This commit is contained in:
parent
e385de010d
commit
46b3bb8e41
2 changed files with 2 additions and 1 deletions
|
@ -586,7 +586,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_BFGSpray)
|
|||
damage += (pr_bfgspray() & 7) + 1;
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -587,6 +587,7 @@ ACTOR BFGExtra
|
|||
+NOGRAVITY
|
||||
RenderStyle Add
|
||||
Alpha 0.75
|
||||
DamageType "BFGSplash"
|
||||
States
|
||||
{
|
||||
Spawn:
|
||||
|
|
Loading…
Reference in a new issue