mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-11 17:58:16 +08:00
[bot] Update CPlayerPool ctor
This commit is contained in:
1 parent
0ae5fb134b
commit
93fd944b72
2 files changed
+14
-6
No files matched your search
+11
-6
@@ -1,14 +1,19 @@
|
||||
|
||||
#include "playerpool.h"
|
||||
#include "../main.h"
|
||||
|
||||
//----------------------------------------------------
|
||||
|
||||
CPlayerPool::CPlayerPool()
|
||||
{
|
||||
// TODO: CPlayerPool::CPlayerPool W: 004196A0 L: 080B1F4E
|
||||
field_7163 = 0;
|
||||
field_8107 = 0;
|
||||
for(unsigned short i = 0; i < 1000; i++) {
|
||||
field_0[i] = 0;
|
||||
field_7167[i] = 0;
|
||||
field_810B[i] = 0;
|
||||
|
||||
// loop through and initialize all net players to null and slot states to false
|
||||
for(PLAYERID playerId = 0; playerId < MAX_PLAYERS; playerId++) {
|
||||
field_0[playerId] = 0;
|
||||
field_7167[playerId] = 0;
|
||||
field_810B[playerId] = 0;
|
||||
}
|
||||
}
|
||||
|
||||
//----------------------------------------------------
|
||||
Reference in new issue
Block a user