]> de.git.xonotic.org Git - voretournament/voretournament.git/commitdiff
team vore also needs to be enabled in order to show the teamheal team bubble
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 9 Sep 2010 22:59:03 +0000 (01:59 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 9 Sep 2010 22:59:03 +0000 (01:59 +0300)
data/qcsrc/server/cl_client.qc

index 313c79959a138823be046a5306573274caa739a8..393463ccff1fd88f0a874e39b6504941eccbf43c 100644 (file)
@@ -1639,7 +1639,8 @@ void TeamBubbleThink()
                self.model = "";\r
        else\r
        {\r
-               if(cvar("g_balance_vore_teamheal") && self.owner.health < cvar("g_balance_vore_teamheal_stable"))\r
+               if(cvar("g_balance_vore_teamheal") && cvar("g_vore_teamvore"))\r
+               if(self.owner.health < cvar("g_balance_vore_teamheal_stable"))\r
                        setmodel(self, "models/misc/teambubbleheal.spr"); // indicate that this player can be teamhealed\r
                else\r
                        setmodel(self, "models/misc/teambubble.spr");\r