From f66083cee3fc4cb67c7a6d4e58ea57907295f846 Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Mon, 18 Jul 2011 14:12:00 +0300 Subject: [PATCH] Use floor() instead of ceil() for max load, to match health better --- data/qcsrc/server/vore.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/qcsrc/server/vore.qc b/data/qcsrc/server/vore.qc index b8c84850..9b8c85dd 100644 --- a/data/qcsrc/server/vore.qc +++ b/data/qcsrc/server/vore.qc @@ -798,7 +798,7 @@ void Vore() self.stomach_maxload = cvar("g_balance_vore_load_pred_capacity"); if(cvar("g_healthsize")) self.stomach_maxload *= self.scale; - self.stomach_maxload = ceil(self.stomach_maxload); + self.stomach_maxload = floor(self.stomach_maxload); // attempt to swallow our new prey if we pressed the attack button, and there's any in range self.stat_canswallow = 0; -- 2.39.2