*
* 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));
+ 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));
- 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));
+ 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));
if(sf & CSQCMODEL_PROPERTY_TELEPORTED)
{
self.iflags |= IFLAG_TELEPORTED;
self.csqcmodel_teleported = 1;
}
if(sf & CSQCMODEL_PROPERTY_TELEPORTED)
{
self.iflags |= IFLAG_TELEPORTED;
self.csqcmodel_teleported = 1;
}
setorigin(self, self.origin);
// set obvious render flags
setorigin(self, self.origin);
// set obvious render flags