From 280b404a7c0b3d71a0fad202bb3ad85b405ab60d Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 17 Jun 2018 17:27:52 +1000 Subject: [PATCH] Fix a dumb mistake causing crashes --- qcsrc/server/player.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/server/player.qc b/qcsrc/server/player.qc index 73c78e7db..cc58cdc6d 100644 --- a/qcsrc/server/player.qc +++ b/qcsrc/server/player.qc @@ -630,7 +630,7 @@ void PlayerDamage(entity this, entity inflictor, entity attacker, float damage, // set damage function to corpse damage this.event_damage = PlayerCorpseDamage; - this.event_damage = func_null; + this.event_heal = func_null; // call the corpse damage function just in case it wants to gib this.event_damage(this, inflictor, attacker, excess, deathtype, weaponentity, hitloc, force); -- 2.39.2