crraaaaap

This commit is contained in:
David Anderson 2006-02-28 10:10:44 +00:00
parent 51b2cf120e
commit d2cc14fa18

View File

@ -3885,7 +3885,7 @@ CVector<cell *> g_hudsync;
static cell AMX_NATIVE_CALL CreateHudSyncObj(AMX *amx, cell *params) static cell AMX_NATIVE_CALL CreateHudSyncObj(AMX *amx, cell *params)
{ {
cell *p = new cell[gpGlobals->maxClients+1]; 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); g_hudsync.push_back(p);
return static_cast<cell>(g_hudsync.size()); return static_cast<cell>(g_hudsync.size());