*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
- local noref float isplayer = (self.entnum >= 1 && self.entnum <= maxclients);
- local noref float islocalplayer = (self.entnum == player_localnum + 1);
- local noref float 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));
- local noref float isplayer = (self.entnum >= 1 && self.entnum <= maxclients);
- local noref float islocalplayer = (self.entnum == player_localnum + 1);
- local noref float 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));
setorigin(self, self.origin);
// set obvious render flags
setorigin(self, self.origin);
// set obvious render flags