Messages can now be registered by multiple plugins (thanks fsfod)

This commit is contained in:
David Anderson
2004-08-30 22:24:43 +00:00
parent 6da1dc3e4a
commit 2134a7e36d
7 changed files with 24 additions and 14 deletions

View File

@ -196,7 +196,7 @@ void ServerDeactivate()
Msg.clear();
register int i = 0;
for (i=0; i<256; i++) {
msgHooks[i] = 0;
msgHooks[i].clear();
msgBlocks[i] = 0;
}
@ -227,7 +227,7 @@ void ServerActivate(edict_t *pEdictList, int edictCount, int clientMax)
Msg.clear();
register int i = 0;
for (i=0; i<256; i++) {
msgHooks[i] = 0;
msgHooks[i].clear();
msgBlocks[i] = 0;
}