Don't require re-pressing for stomach kicks for bots (again). This prevents a certain...
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 11 Jul 2011 00:31:28 +0000 (03:31 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 11 Jul 2011 00:31:28 +0000 (03:31 +0300)
data/qcsrc/client/shownames.qc
data/qcsrc/server/vore.qc

index f00e9a4..6280c99 100644 (file)
@@ -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);
index 7e22cf9..8b82b69 100644 (file)
@@ -549,6 +549,7 @@ void Vore_StomachKick()
 \r
                self.stomachkick_delay = time + cvar("g_balance_vore_kick_delay");\r
                if(cvar("g_balance_vore_kick_repress"))\r
+               if not(clienttype(self) == CLIENTTYPE_BOT) // not for bots, to prevent an issue\r
                        self.kick_pressed = TRUE;\r
        }\r
 }\r