Browse Source

Fix Player Targeting (#8313)

install
Eric Robinson 5 months ago committed by GitHub
parent
commit
553faae5c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      Source/player.cpp

2
Source/player.cpp

@ -1117,7 +1117,7 @@ void CheckNewPath(Player &player, bool pmWillBeCalled)
case ACTION_RATTACKPLR: case ACTION_RATTACKPLR:
case ACTION_SPELLPLR: case ACTION_SPELLPLR:
target = &Players[targetId]; target = &Players[targetId];
if (!target->hasNoLife()) { if (target->hasNoLife()) {
player.Stop(); player.Stop();
return; return;
} }

Loading…
Cancel
Save