mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +03:00
Minor bug with PlayerPostThink fixed
This commit is contained in:
parent
f4ed94a9da
commit
3155a300c6
@ -64,7 +64,7 @@ void OnPluginsLoaded()
|
|||||||
if (CheckForPublic("client_PreThink"))
|
if (CheckForPublic("client_PreThink"))
|
||||||
g_pFunctionTable->pfnPlayerPreThink=PlayerPreThink;
|
g_pFunctionTable->pfnPlayerPreThink=PlayerPreThink;
|
||||||
|
|
||||||
g_pFunctionTable->pfnPlayerPostThink=NULL; // "client_PostThink"
|
g_pFunctionTable_Post->pfnPlayerPostThink=NULL; // "client_PostThink"
|
||||||
if (CheckForPublic("client_PostThink"))
|
if (CheckForPublic("client_PostThink"))
|
||||||
g_pFunctionTable->pfnPlayerPostThink=PlayerPostThink_Post;
|
g_pFunctionTable->pfnPlayerPostThink=PlayerPostThink_Post;
|
||||||
|
|
||||||
@ -198,7 +198,7 @@ void ServerDeactivate()
|
|||||||
g_pFunctionTable->pfnKeyValue=NULL;
|
g_pFunctionTable->pfnKeyValue=NULL;
|
||||||
g_pengfuncsTable->pfnPlaybackEvent=NULL; // "pfn_playbackevent"
|
g_pengfuncsTable->pfnPlaybackEvent=NULL; // "pfn_playbackevent"
|
||||||
g_pFunctionTable->pfnPlayerPreThink=NULL; // "client_PreThink"
|
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->pfnSpawn=NULL; // "pfn_spawn"
|
||||||
g_pFunctionTable->pfnClientKill=NULL; // "client_kill"
|
g_pFunctionTable->pfnClientKill=NULL; // "client_kill"
|
||||||
g_pFunctionTable->pfnCmdStart=NULL; // "client_impulse","register_impulse"
|
g_pFunctionTable->pfnCmdStart=NULL; // "client_impulse","register_impulse"
|
||||||
|
Loading…
Reference in New Issue
Block a user