beam.scale = self.target_range / 256;
beam.movetype = MOVETYPE_NONE;
beam.enemy = self.enemy;
- beam.bot_dodge = TRUE;
+ beam.bot_dodge = true;
beam.bot_dodgerating = beam.shot_dmg;
sound (beam, CH_SHOTS_SINGLE, "turrets/phaser.wav", VOL_BASE, ATTEN_NORM);
self.fireflag = 1;
if (self.tur_head.frame == 0)
self.tur_head.frame = 1;
- return TRUE;
+ return true;
}
case TR_THINK:
{
}
}
- return TRUE;
+ return true;
}
case TR_DEATH:
{
- return TRUE;
+ return true;
}
case TR_SETUP:
{
self.turret_firecheckfunc = turret_phaser_firecheck;
- return TRUE;
+ return true;
}
case TR_PRECACHE:
{
precache_model ("models/turrets/phaser.md3");
precache_model ("models/turrets/phaser_beam.md3");
precache_sound ("turrets/phaser.wav");
- 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