From: MirceaKitsune Date: Sun, 12 Sep 2010 01:31:27 +0000 (+0300) Subject: Small arrangements to my last change X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5ed1dbccf75bc4f2d5acf3ff1856e251da00b647;p=voretournament%2Fvoretournament.git Small arrangements to my last change --- diff --git a/data/qcsrc/client/main.qh b/data/qcsrc/client/main.qh index 10d1fd66..3b6aadee 100644 --- a/data/qcsrc/client/main.qh +++ b/data/qcsrc/client/main.qh @@ -164,7 +164,8 @@ void centerprint(string strMessage); float armorblockpercent; float g_weaponswitchdelay; -float g_vore, g_balance_vore_swallow_limit; +float g_vore; +float g_balance_vore_swallow_limit; //hooks float calledhooks; diff --git a/data/qcsrc/client/sbar.qc b/data/qcsrc/client/sbar.qc index 9db2566f..16b34b12 100644 --- a/data/qcsrc/client/sbar.qc +++ b/data/qcsrc/client/sbar.qc @@ -2943,7 +2943,7 @@ void Sbar_Draw (void) fade = 3.2 - 2 * (time - weapontime); fade = bound(0.7, fade, 1); - if(g_vore) // only when the vore system is enabled + if(g_vore) // only when the vore system is active { // draw the stomach board if (cvar("viewsize") <= 100) { diff --git a/data/qcsrc/server/bot/havocbot/vore_ai.qc b/data/qcsrc/server/bot/havocbot/vore_ai.qc index 0b356c1a..7301fb97 100644 --- a/data/qcsrc/server/bot/havocbot/vore_ai.qc +++ b/data/qcsrc/server/bot/havocbot/vore_ai.qc @@ -77,7 +77,7 @@ void Vore_AI() { // main vore AI code - if(!cvar("g_vore")) + if(!cvar("g_vore")) // the vore system is disabled return; if(cvar("bot_nofire") || !skill || (g_rpg && cvar("g_rpg_botattack") < 1)) return; diff --git a/data/qcsrc/server/vore.qc b/data/qcsrc/server/vore.qc index 97136610..9c8f8ca5 100644 --- a/data/qcsrc/server/vore.qc +++ b/data/qcsrc/server/vore.qc @@ -318,7 +318,7 @@ void Vore() { // main vore code, this is where it all happens - if(!cvar("g_vore")) // vore system is disabled + if(!cvar("g_vore")) // the vore system is disabled { Vore_Disconnect(); return;