return false;
if((!IS_PLAYER(other))
- || (other.deadflag != DEAD_NO)
+ || (IS_DEAD(other))
|| (other.vehicle)
|| (DIFF_TEAM(other, self))
) { return false; }
vehic = self.vehicle;
setself(vehic);
- if(vehic.deadflag != DEAD_NO)
+ if(IS_DEAD(vehic))
{
setself(pilot);
pilot.BUTTON_ATCK = pilot.BUTTON_ATCK2 = 0;
}
else
{
- if(trace_ent.deadflag == DEAD_NO)
+ if(!IS_DEAD(trace_ent))
if((teamplay && trace_ent.team == pilot.team) || !teamplay)
{
self.touch = vehicles_touch;
- if(self.deadflag == DEAD_NO)
+ if(!IS_DEAD(self))
{
self.think = bumblebee_land;
self.nextthink = time;