Merge branch 'hitpointer2' of https://github.com/MajorCooke/zdoom
Conflicts: src/actor.h src/thingdef/thingdef_data.cpp
This commit is contained in:
commit
6afe9cc048
3 changed files with 9 additions and 0 deletions
|
|
@ -1202,6 +1202,9 @@ void P_ExplodeMissile (AActor *mo, line_t *line, AActor *target)
|
|||
|
||||
if (target != NULL && ((target->flags & (MF_SHOOTABLE|MF_CORPSE)) || (target->flags6 & MF6_KILLED)) )
|
||||
{
|
||||
if (target->flags7 & MF7_HITTARGET) mo->target = target;
|
||||
if (target->flags7 & MF7_HITMASTER) mo->master = target;
|
||||
if (target->flags7 & MF7_HITTRACER) mo->tracer = target;
|
||||
if (target->flags & MF_NOBLOOD) nextstate = mo->FindState(NAME_Crash);
|
||||
if (nextstate == NULL) nextstate = mo->FindState(NAME_Death, NAME_Extreme);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue