Fix a cs_set_user_model issue with model not being persistent set on a 32th player
Related to some PR fixing cs_set_user_model() crash.
This commit is contained in:
parent
115916d753
commit
55c9143b2b
|
@ -52,7 +52,7 @@ void StartFrame()
|
|||
{
|
||||
g_pFunctionTable->pfnStartFrame = nullptr;
|
||||
|
||||
for (int i = 1; i < gpGlobals->maxClients; ++i)
|
||||
for (int i = 1; i <= gpGlobals->maxClients; ++i)
|
||||
{
|
||||
if (Players[i].HasModel())
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user