]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
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 f00e9a407dc9c8c647bfc9751a069c8f17522744..6280c991b4ac116dce68530bf094e4ae4d3c7919 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 7e22cf90b54c64c9c7b36b2c595454681d6efa12..8b82b697553d7c5b96d34532ed789ce77c1ec713 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