From: Samual Date: Wed, 28 Sep 2011 22:04:06 +0000 (-0400) Subject: Fix a bug regarding accidentally killing the hook at the wrong times X-Git-Tag: xonotic-v0.6.0~40^2~92^2~1^2~39 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=9d3e8f2d3eb5d3989a7ddf2bfd57040d4303a96f Fix a bug regarding accidentally killing the hook at the wrong times --- 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) {