added compile-time support for up to 64 maxplayers
This commit is contained in:
parent
1259276bcb
commit
5ff6b9ecde
8 changed files with 28 additions and 13 deletions
|
|
@ -185,7 +185,7 @@ public:
|
|||
|
||||
inline int GetTeam (edict_t *ent)
|
||||
{
|
||||
extern Client g_clients[32];
|
||||
extern Client g_clients[MAX_ENGINE_PLAYERS];
|
||||
|
||||
#ifndef XASH_CSDM
|
||||
return g_clients[IndexOfEntity (ent) - 1].team;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue