From c0b6ce9c60079df2f9ecaa43b490baac0544dca7 Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Fri, 10 Sep 2010 00:21:57 +0300 Subject: [PATCH] Rename another cvar to reflect reality --- data/defaultVoretournament.cfg | 2 +- data/qcsrc/server/cl_client.qc | 2 +- data/qcsrc/server/g_world.qc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/data/defaultVoretournament.cfg b/data/defaultVoretournament.cfg index 7d394e4a..466b85bf 100644 --- a/data/defaultVoretournament.cfg +++ b/data/defaultVoretournament.cfg @@ -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" set g_vore_gurglesound 1 "predators make an ambient gurgling sound" set g_vore_biggergut 1 "when enabled, a player can't swallow someone with more players in their stomach than them" -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" +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" 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)" set sv_weaponstats_damagefile "" "when set to a file name, per-weapon damage stats get written to that file" diff --git a/data/qcsrc/server/cl_client.qc b/data/qcsrc/server/cl_client.qc index ab172d4d..aeb07d95 100644 --- a/data/qcsrc/server/cl_client.qc +++ b/data/qcsrc/server/cl_client.qc @@ -1014,7 +1014,7 @@ float ClientInit_SendEntity(entity to, float sf) WriteByte(MSG_ENTITY, cvar("g_balance_weaponswitchdelay") * 255.0); WriteCoord(MSG_ENTITY, cvar("g_balance_vore_swallow_limit")); - WriteCoord(MSG_ENTITY, cvar("g_vore_showpreyhealth")); + WriteCoord(MSG_ENTITY, cvar("g_vore_showhealth")); return TRUE; } diff --git a/data/qcsrc/server/g_world.qc b/data/qcsrc/server/g_world.qc index e3e225e0..2034b450 100644 --- a/data/qcsrc/server/g_world.qc +++ b/data/qcsrc/server/g_world.qc @@ -51,7 +51,7 @@ void OtherPLReport_Think() WriteByte(MSG_BROADCAST, self.cnt); if(e.predator.classname == "player") // tempt hackers less by only sending the info of eaten players { - if(cvar("g_vore_showpreyhealth")) + if(cvar("g_vore_showhealth")) WriteByte(MSG_BROADCAST, e.health); else WriteByte(MSG_BROADCAST, 0); -- 2.39.2