From: MirceaKitsune Date: Sat, 16 Jul 2011 15:16:03 +0000 (+0300) Subject: Fix the server attempting to attach the exterior weapon entity to stomach models... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6b3f0dd8b6331a46ca838338b86dfefd9219c23b;p=voretournament%2Fvoretournament.git Fix the server attempting to attach the exterior weapon entity to stomach models. Should fix console warnings and the weapon model blinking for predators. --- 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.