mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 14:25:38 +03:00
crraaaaap
This commit is contained in:
parent
51b2cf120e
commit
d2cc14fa18
@ -3885,7 +3885,7 @@ CVector<cell *> g_hudsync;
|
||||
static cell AMX_NATIVE_CALL CreateHudSyncObj(AMX *amx, cell *params)
|
||||
{
|
||||
cell *p = new cell[gpGlobals->maxClients+1];
|
||||
memcpy(p, 0, sizeof(cell) * (gpGlobals->maxClients + 1));
|
||||
memset(p, 0, sizeof(cell) * (gpGlobals->maxClients + 1));
|
||||
g_hudsync.push_back(p);
|
||||
|
||||
return static_cast<cell>(g_hudsync.size());
|
||||
|
Loading…
Reference in New Issue
Block a user