From ed6e28c1d44f3c7c95dccd869287af6eb546f934 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 11 May 2006 07:49:45 +0000 Subject: [PATCH] removed message functions from engine [!] --- dlls/engine/amxxapi.cpp | 10 +--------- dlls/engine/engine.h | 1 - dlls/engine/engine.vcproj | 6 ------ dlls/engine/moduleconfig.h | 20 ++++++++++---------- 4 files changed, 11 insertions(+), 26 deletions(-) diff --git a/dlls/engine/amxxapi.cpp b/dlls/engine/amxxapi.cpp index bb5c0628..750b73c8 100755 --- a/dlls/engine/amxxapi.cpp +++ b/dlls/engine/amxxapi.cpp @@ -13,11 +13,7 @@ int AmxStringToEngine(AMX *amx, cell param, int &len) void ClearHooks() { - register unsigned int i = 0; - for (i=0; i<256; i++) { - msgHooks[i].clear(); - msgBlocks[i] = 0; - } + size_t i; for (i=0; i -#include "messages.h" #include "entity.h" #include "gpglobals.h" diff --git a/dlls/engine/engine.vcproj b/dlls/engine/engine.vcproj index f19eea57..59d4be87 100755 --- a/dlls/engine/engine.vcproj +++ b/dlls/engine/engine.vcproj @@ -132,9 +132,6 @@ - - - -