[server] Implement CPlayerPool contructor

This commit is contained in:
RD42
2023-11-22 23:38:00 +08:00
parent e661820274
commit 4a2c40731d
3 changed files with 42 additions and 1 deletions
+18
View File
@@ -0,0 +1,18 @@
#include "main.h"
CPlayerPool::CPlayerPool()
{
for(PLAYERID PlayerID = 0; PlayerID < MAX_PLAYERS; PlayerID++) {
m_bPlayerSlotState[PlayerID] = FALSE;
field_2599C[PlayerID] = 0;
field_23A5C[PlayerID] = 0;
field_3E8C[PlayerID] = pNetGame->GetTime();
}
field_30964 = 0;
field_30968 = 0;
field_FA0 = pNetGame->GetTime();
field_FA4 = 0;
field_FA8 = 0;
field_3096C = 0;
}