Hi Team,
Just looking for some solid input from devs around client index looping.
I loop clients like (depending on needs):
Code:
for (int client=1; client <= MaxClients; client++)
or
Code:
for (int client=1; client < MAXPLAYERS; client++)
I see people adding +1 to MaxClients and MAXPLAYERS which seems like a waist of CPU cycles as I would assume MaxClients and MAXPLAYERS already do +1 for optimisation.
__________________