]> de.git.xonotic.org Git - voretournament/voretournament.git/commitdiff
Fix the server attempting to attach the exterior weapon entity to stomach models...
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 16 Jul 2011 15:16:03 +0000 (18:16 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 16 Jul 2011 15:16:03 +0000 (18:16 +0300)
data/qcsrc/server/cl_weaponsystem.qc
docs/Release notes.txt

index 04908ba697b232466bf3e4fd5fc35389e5e17da7..691fecae5c37abf1e453e73175dfe1624399af78 100644 (file)
@@ -792,7 +792,7 @@ void CL_ExteriorWeaponentity_Think()
                        self.tag_index = tag_found;\r
                        self.tag_entity = self.owner;\r
                }\r
                        self.tag_index = tag_found;\r
                        self.tag_entity = self.owner;\r
                }\r
-               else\r
+               else if(substring(self.owner.model, -4, 4) != ".md3") // not a stomach model\r
                        setattachment(self, self.owner, "bip01 r hand");\r
 \r
                // if that didn't find a tag, hide the exterior weapon model\r
                        setattachment(self, self.owner, "bip01 r hand");\r
 \r
                // if that didn't find a tag, hide the exterior weapon model\r
index 0fa830a8ee6a4f8852726ceeb7acaf6459729c0c..6e15fa6f98fb3ced0fa96d7438e3af8ad46d109e 100644 (file)
@@ -243,3 +243,5 @@ Bug fixes:
 - Tweak Grabber fuel usage and the fuel system, improving some things and fixing minor bugs.\r
 \r
 - 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.\r
 - Tweak Grabber fuel usage and the fuel system, improving some things and fixing minor bugs.\r
 \r
 - 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.\r
+\r
+- Fix the server attempting to attach the exterior weapon entity to stomach models. Should fix console warnings and the weapon model blinking for predators.\r