t = toast(e,r,d);
remove(e);
- if (t == world) return TRUE;
+ if (t == world) return true;
self.target_validate_flags = TFL_TARGETSELECT_PLAYERS | TFL_TARGETSELECT_MISSILES | TFL_TARGETSELECT_TEAMCHECK;
e = e.chain;
}
- return TRUE;
+ return true;
}
case TR_THINK:
{
if(!self.active)
{
self.tur_head.avelocity = '0 0 0';
- return TRUE;
+ return true;
}
if(self.ammo < self.shot_dmg)
self.tur_head.avelocity = '0 180 0' * (self.ammo / self.shot_dmg);
if(self.attack_finished_single > time)
- return TRUE;
+ return true;
float f;
f = (self.ammo / self.ammo_max);
te_csqc_lightningarc(self.tur_shotorg,self.tur_shotorg + (randomvec() * 350));
}
- return TRUE;
+ return true;
}
case TR_DEATH:
{
- return TRUE;
+ return true;
}
case TR_SETUP:
{
self.aim_flags = TFL_AIM_NO;
self.track_flags = TFL_TRACK_NO;
- return TRUE;
+ return true;
}
case TR_PRECACHE:
{
precache_model ("models/turrets/tesla_base.md3");
precache_model ("models/turrets/tesla_head.md3");
- return TRUE;
+ return true;
}
}
- return TRUE;
+ return true;
}
#endif // SVQC
{
case TR_SETUP:
{
- return TRUE;
+ return true;
}
case TR_PRECACHE:
{
- return TRUE;
+ return true;
}
}
- return TRUE;
+ return true;
}
#endif // CSQC