From 6526a7cb4fafb460ba286681f2e9e7e7c308b1a6 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Thu, 15 Sep 2011 22:08:05 +0200 Subject: [PATCH] possible workaround for a hook related crash --- qcsrc/server/arena.qc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/qcsrc/server/arena.qc b/qcsrc/server/arena.qc index c89c2b2ef..b2e4f1019 100644 --- a/qcsrc/server/arena.qc +++ b/qcsrc/server/arena.qc @@ -55,6 +55,12 @@ void reset_map(float dorespawn) race_ReadyRestart(); + FOR_EACH_CLIENT(self) { + // just to make sure, as the FL_PROJECTILE handling is bad for + // these + RemoveGrapplingHook(); + } + for(self = world; (self = nextent(self)); ) if(clienttype(self) == CLIENTTYPE_NOTACLIENT && self.items != IT_STRENGTH && self.items != IT_INVINCIBLE) // don't respawn strength or shield, that will only lead to them spawning very early each match { -- 2.39.2