Browse Source

Update player.cpp

pull/8315/head
Eric Robinson 3 months ago
parent
commit
2c33b62a06
  1. 3
      Source/player.cpp

3
Source/player.cpp

@ -2680,7 +2680,8 @@ void StartPlrHit(Player &player, int dam, bool forcehit)
#if defined(__clang__) || defined(__GNUC__) #if defined(__clang__) || defined(__GNUC__)
__attribute__((no_sanitize("shift-base"))) __attribute__((no_sanitize("shift-base")))
#endif #endif
void StartPlayerKill(Player &player, DeathReason deathReason) void
StartPlayerKill(Player &player, DeathReason deathReason)
{ {
if (player.hasNoLife() && player._pmode == PM_DEATH) { if (player.hasNoLife() && player._pmode == PM_DEATH) {
return; return;

Loading…
Cancel
Save