From 68570759bc74fbdba11bd2ae1eaf9beca05a447f Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Mon, 11 Jul 2011 03:31:28 +0300 Subject: [PATCH] Don't require re-pressing for stomach kicks for bots (again). This prevents a certain issue. --- data/qcsrc/client/shownames.qc | 2 +- data/qcsrc/server/vore.qc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/data/qcsrc/client/shownames.qc b/data/qcsrc/client/shownames.qc index f00e9a40..6280c991 100644 --- a/data/qcsrc/client/shownames.qc +++ b/data/qcsrc/client/shownames.qc @@ -25,7 +25,7 @@ void Draw_ShowNames(entity ent) if(g_healthsize) ent.origin_z -= (g_healthsize - bound(g_healthsize_min, ent.healthvalue, g_healthsize_max)) * cvar("hud_shownames_offset_healthsize"); - traceline(ent.origin, view_origin, 1, ent); + traceline(ent.origin, view_origin, TRUE, ent); vector o, eo; o = project_3d_to_2d(ent.origin); diff --git a/data/qcsrc/server/vore.qc b/data/qcsrc/server/vore.qc index 7e22cf90..8b82b697 100644 --- a/data/qcsrc/server/vore.qc +++ b/data/qcsrc/server/vore.qc @@ -549,6 +549,7 @@ void Vore_StomachKick() self.stomachkick_delay = time + cvar("g_balance_vore_kick_delay"); if(cvar("g_balance_vore_kick_repress")) + if not(clienttype(self) == CLIENTTYPE_BOT) // not for bots, to prevent an issue self.kick_pressed = TRUE; } } -- 2.39.2