void CSQCModel_Draw()
{
// some nice flags for CSQCMODEL_IF and the hooks
- local noref bool isplayer = (self.entnum >= 1 && self.entnum <= maxclients);
- local noref bool islocalplayer = (self.entnum == player_localnum + 1);
- local noref bool isnolocalplayer = (isplayer && (self.entnum != player_localnum + 1));
+ bool isplayer = (self.entnum >= 1 && self.entnum <= maxclients);
+ noref bool islocalplayer = (self.entnum == player_localnum + 1);
+ noref bool isnolocalplayer = (isplayer && (self.entnum != player_localnum + 1));
// we don't do this for the local player as that one is already handled
// by CSQCPlayer_SetCamera()
int sf = ReadInt24_t();
// some nice flags for CSQCMODEL_IF and the hooks
- local noref bool isplayer = (self.entnum >= 1 && self.entnum <= maxclients);
- local noref bool islocalplayer = (self.entnum == player_localnum + 1);
- local noref bool isnolocalplayer = (isplayer && (self.entnum != player_localnum + 1));
+ bool isplayer = (self.entnum >= 1 && self.entnum <= maxclients);
+ bool islocalplayer = (self.entnum == player_localnum + 1);
+ noref bool isnolocalplayer = (isplayer && (self.entnum != player_localnum + 1));
self.classname = "csqcmodel";
self.iflags |= IFLAG_ORIGIN; // interpolate origin too