From 6b3f0dd8b6331a46ca838338b86dfefd9219c23b Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Sat, 16 Jul 2011 18:16:03 +0300 Subject: [PATCH] Fix the server attempting to attach the exterior weapon entity to stomach models. Should fix console warnings and the weapon model blinking for predators. --- data/qcsrc/server/cl_weaponsystem.qc | 2 +- docs/Release notes.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/data/qcsrc/server/cl_weaponsystem.qc b/data/qcsrc/server/cl_weaponsystem.qc index 04908ba6..691fecae 100644 --- a/data/qcsrc/server/cl_weaponsystem.qc +++ b/data/qcsrc/server/cl_weaponsystem.qc @@ -792,7 +792,7 @@ void CL_ExteriorWeaponentity_Think() self.tag_index = tag_found; self.tag_entity = self.owner; } - else + else if(substring(self.owner.model, -4, 4) != ".md3") // not a stomach model setattachment(self, self.owner, "bip01 r hand"); // if that didn't find a tag, hide the exterior weapon model diff --git a/docs/Release notes.txt b/docs/Release notes.txt index 0fa830a8..6e15fa6f 100644 --- a/docs/Release notes.txt +++ b/docs/Release notes.txt @@ -243,3 +243,5 @@ Bug fixes: - Tweak Grabber fuel usage and the fuel system, improving some things and fixing minor bugs. - Disable GLSL color control by default, as it seems to be the cause for some video card issues. This MIGHT fix the white screen problem some people have been reporting, as well as the game crashing between map changes. + +- Fix the server attempting to attach the exterior weapon entity to stomach models. Should fix console warnings and the weapon model blinking for predators. -- 2.39.2