mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-16 09:31:14 +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
3e4f1ea813
commit
9410e5ea98
1 changed files with 1 additions and 1 deletions
|
@ -1588,7 +1588,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