From: nyov Date: Wed, 16 Nov 2011 07:15:07 +0000 (+0100) Subject: detach hook in intermission/endmatch X-Git-Tag: xonotic-v0.6.0~35^2~58^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=eea95fe2444a6a9dc2eb7a651f396255375d5cc2;p=xonotic%2Fxonotic-data.pk3dir.git detach hook in intermission/endmatch might not be necessary if 3rd person view would attach it to the player model instead of view --- diff --git a/qcsrc/server/g_hook.qc b/qcsrc/server/g_hook.qc index b08ef0986..84ea02101 100644 --- a/qcsrc/server/g_hook.qc +++ b/qcsrc/server/g_hook.qc @@ -121,7 +121,7 @@ void GrapplingHookThink() error("Owner lost the hook!\n"); return; } - if(LostMovetypeFollow(self)) + if(LostMovetypeFollow(self) || intermission_running) { RemoveGrapplingHook(self.realowner); return;