]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Slow swallowing of items: Require g_vore too!
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 20 Mar 2012 09:07:55 +0000 (11:07 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 20 Mar 2012 09:07:55 +0000 (11:07 +0200)
data/qcsrc/server/t_items.qc

index 4f24cec237cc351c93408fa4bb0dd52916a62fd9..4ecb6527ef7bedd90fa4b3ca9c664ec6c5b96372 100644 (file)
@@ -434,7 +434,7 @@ float Item_Swallow(entity item, entity player)
 \r
        item.swallow_progress_prey += cvar("g_balance_vore_swallow_speed_fill_item") / scalediff;\r
        player.swallow_progress_pred = item.swallow_progress_prey;\r
-       if(item.swallow_progress_prey < 1 && cvar("g_balance_vore_swallow_speed_fill_item"))\r
+       if(item.swallow_progress_prey < 1 && cvar("g_balance_vore_swallow_speed_fill_item") && cvar("g_vore"))\r
                return FALSE; // swallow progress not full yet, or slow swallowing of items is disabled\r
 \r
        if(usage > 1)\r