]> de.git.xonotic.org Git - voretournament/voretournament.git/commitdiff
Rename another cvar to reflect reality
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 9 Sep 2010 21:21:57 +0000 (00:21 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 9 Sep 2010 21:21:57 +0000 (00:21 +0300)
data/defaultVoretournament.cfg
data/qcsrc/server/cl_client.qc
data/qcsrc/server/g_world.qc

index 7d394e4a6cc154f0977b3c652171e3f443099c5e..466b85bffc35238db30cbaf29e62981f4a8914cf 100644 (file)
@@ -1502,7 +1502,7 @@ set g_vore_regurgitatecolor_release "0.875 1 0.375" "the color players will have
 set g_vore_regurgitatecolor_digest "0.125 0.25 0" "the color players will have when digested"\r
 set g_vore_gurglesound 1 "predators make an ambient gurgling sound"\r
 set g_vore_biggergut 1 "when enabled, a player can't swallow someone with more players in their stomach than them"\r
-set g_vore_showpreyhealth 1 "when enabled, a predator can see their prey's health on the stomach board, and prey can see the health of players he's joining in the stomach"\r
+set g_vore_showhealth 1 "when enabled, a predator can see their prey's health on the stomach board, and prey can see the health of players he's joining in the stomach"\r
 set g_vore_soundocclusion 0.25 "directional player sounds are cut to this amount of their initial volume for eaten players (simulates hearing harder from the stomach)"\r
 \r
 set sv_weaponstats_damagefile "" "when set to a file name, per-weapon damage stats get written to that file"\r
index ab172d4dec5921c8c038b3b6e0aa96f650a37781..aeb07d95a8dcea25bc8a2453b40306937e870058 100644 (file)
@@ -1014,7 +1014,7 @@ float ClientInit_SendEntity(entity to, float sf)
        WriteByte(MSG_ENTITY, cvar("g_balance_weaponswitchdelay") * 255.0);\r
 \r
        WriteCoord(MSG_ENTITY, cvar("g_balance_vore_swallow_limit"));\r
-       WriteCoord(MSG_ENTITY, cvar("g_vore_showpreyhealth"));\r
+       WriteCoord(MSG_ENTITY, cvar("g_vore_showhealth"));\r
        return TRUE;\r
 }\r
 \r
index e3e225e0464900fbb78376205001fbda362a3cca..2034b45045ef288f4e6d3cfc26cb2ee117b6cb9c 100644 (file)
@@ -51,7 +51,7 @@ void OtherPLReport_Think()
        WriteByte(MSG_BROADCAST, self.cnt);\r
        if(e.predator.classname == "player") // tempt hackers less by only sending the info of eaten players\r
        {\r
-               if(cvar("g_vore_showpreyhealth"))\r
+               if(cvar("g_vore_showhealth"))\r
                        WriteByte(MSG_BROADCAST, e.health);\r
                else\r
                        WriteByte(MSG_BROADCAST, 0);\r