- bool isplayer = (self.entnum >= 1 && self.entnum <= maxclients);
- bool islocalplayer = (self.entnum == player_localnum + 1);
- noref bool isnolocalplayer = (isplayer && (self.entnum != player_localnum + 1));
+ bool isplayer = ReadByte() || (this.entnum >= 1 && this.entnum <= maxclients);
+ if (isnew && isplayer)
+ {
+ CSQCModel_players[this.entnum - 1] = this;
+ this.entremove = CSQCModel_remove;
+ }
+ bool islocalplayer = (this.entnum == player_localnum + 1);
+ noref bool isnolocalplayer = (isplayer && !islocalplayer);