mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- fixed: P_DamageMobj should clear reactiontime only for non-players.
For players this variable has an entirely different meaning which does not agree with being modified here.
This commit is contained in:
parent
aa69d63a65
commit
9df7ce1f9a
1 changed files with 1 additions and 1 deletions
|
@ -1583,7 +1583,7 @@ dopain:
|
|||
}
|
||||
}
|
||||
//ALLOWPAIN and CAUSEPAIN can still trigger infighting, even if no pain state is worked out.
|
||||
target->reactiontime = 0; // we're awake now...
|
||||
if (target->player == nullptr) target->reactiontime = 0; // we're awake now...
|
||||
if (source)
|
||||
{
|
||||
if (source == target->target)
|
||||
|
|
Loading…
Reference in a new issue