From 3155a300c6278411946deb26d5e82fd2da83b041 Mon Sep 17 00:00:00 2001 From: Steve Dudenhoeffer Date: Thu, 12 Aug 2004 04:21:03 +0000 Subject: [PATCH] Minor bug with PlayerPostThink fixed --- dlls/engine/amxxapi.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/engine/amxxapi.cpp b/dlls/engine/amxxapi.cpp index 99663dc7..4116f876 100755 --- a/dlls/engine/amxxapi.cpp +++ b/dlls/engine/amxxapi.cpp @@ -64,7 +64,7 @@ void OnPluginsLoaded() if (CheckForPublic("client_PreThink")) g_pFunctionTable->pfnPlayerPreThink=PlayerPreThink; - g_pFunctionTable->pfnPlayerPostThink=NULL; // "client_PostThink" + g_pFunctionTable_Post->pfnPlayerPostThink=NULL; // "client_PostThink" if (CheckForPublic("client_PostThink")) g_pFunctionTable->pfnPlayerPostThink=PlayerPostThink_Post; @@ -198,7 +198,7 @@ void ServerDeactivate() g_pFunctionTable->pfnKeyValue=NULL; g_pengfuncsTable->pfnPlaybackEvent=NULL; // "pfn_playbackevent" g_pFunctionTable->pfnPlayerPreThink=NULL; // "client_PreThink" - g_pFunctionTable->pfnPlayerPostThink=NULL; // "client_PostThink" + g_pFunctionTable_Post->pfnPlayerPostThink=NULL; // "client_PostThink" g_pFunctionTable->pfnSpawn=NULL; // "pfn_spawn" g_pFunctionTable->pfnClientKill=NULL; // "client_kill" g_pFunctionTable->pfnCmdStart=NULL; // "client_impulse","register_impulse"