From: MirceaKitsune Date: Tue, 20 Mar 2012 09:07:55 +0000 (+0200) Subject: Slow swallowing of items: Require g_vore too! X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3050e4cbeee575cdf5e706606b1edbf168d45c42;p=voretournament%2Fvoretournament.git Slow swallowing of items: Require g_vore too! --- diff --git a/data/qcsrc/server/t_items.qc b/data/qcsrc/server/t_items.qc index 4f24cec2..4ecb6527 100644 --- a/data/qcsrc/server/t_items.qc +++ b/data/qcsrc/server/t_items.qc @@ -434,7 +434,7 @@ float Item_Swallow(entity item, entity player) item.swallow_progress_prey += cvar("g_balance_vore_swallow_speed_fill_item") / scalediff; player.swallow_progress_pred = item.swallow_progress_prey; - if(item.swallow_progress_prey < 1 && cvar("g_balance_vore_swallow_speed_fill_item")) + if(item.swallow_progress_prey < 1 && cvar("g_balance_vore_swallow_speed_fill_item") && cvar("g_vore")) return FALSE; // swallow progress not full yet, or slow swallowing of items is disabled if(usage > 1)