From 4d111ed96e3b7d12deb18d394a3b8fd003b471b7 Mon Sep 17 00:00:00 2001 From: Xylemon Date: Mon, 24 Apr 2023 22:40:13 -0700 Subject: [PATCH] Temp fix so snark doesn't do this hilarious bug anymore --- src/shared/w_snark.qc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/shared/w_snark.qc b/src/shared/w_snark.qc index 5693d01..90e75bf 100644 --- a/src/shared/w_snark.qc +++ b/src/shared/w_snark.qc @@ -91,7 +91,8 @@ monster_snark::customphysics(void) FX_Blood(origin + [0,0,16], [1,0,0]); } - if (m_eTarget.health <= 0) { + /* TODO this needs to be cleaned up and use isAlive in the future */ + if (m_eTarget.solid == SOLID_CORPSE) { m_eTarget = __NULL__; } }