From 9d3e8f2d3eb5d3989a7ddf2bfd57040d4303a96f Mon Sep 17 00:00:00 2001 From: Samual Date: Wed, 28 Sep 2011 18:04:06 -0400 Subject: [PATCH] Fix a bug regarding accidentally killing the hook at the wrong times --- qcsrc/server/sv_main.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/server/sv_main.qc b/qcsrc/server/sv_main.qc index c4eb965a7d..b71245b202 100644 --- a/qcsrc/server/sv_main.qc +++ b/qcsrc/server/sv_main.qc @@ -12,7 +12,7 @@ void CreatureFrame (void) if (self.movetype == MOVETYPE_NOCLIP) { continue; } float vehic = (self.vehicle_flags & VHF_ISVEHICLE); - float projectile = (self.projectiledeathtype); + float projectile = ((self.projectiledeathtype) || (self.classname == "grapplinghook")); if (self.watertype <= CONTENT_WATER && self.waterlevel > 0) // workaround a retarded bug made by id software :P (yes, it's that old of a bug) { -- 2.39.2