mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 21:21:04 +00:00
- Fixed NODAMAGE not ignoring telefrag damage.
This commit is contained in:
parent
74f4ae86d8
commit
e70aae91e3
1 changed files with 4 additions and 4 deletions
|
@ -1119,10 +1119,10 @@ int P_DamageMobj (AActor *target, AActor *inflictor, AActor *source, int damage,
|
|||
return -1;
|
||||
}
|
||||
}
|
||||
if (target->flags5 & MF5_NODAMAGE)
|
||||
{
|
||||
damage = 0;
|
||||
}
|
||||
}
|
||||
if (target->flags5 & MF5_NODAMAGE)
|
||||
{
|
||||
damage = 0;
|
||||
}
|
||||
}
|
||||
if (damage < 0)
|
||||
|
|
Loading…
Reference in a new issue