From 35c2c41a41eea4fd5effbefcfc44e39ebe9b7ce3 Mon Sep 17 00:00:00 2001 From: Pavol Marko Date: Thu, 24 Jun 2004 18:44:30 +0000 Subject: [PATCH] fixed typos, maybe a player disconnect problem --- amxmodx/meta_api.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/amxmodx/meta_api.cpp b/amxmodx/meta_api.cpp index 51f443a4..443b7ca2 100755 --- a/amxmodx/meta_api.cpp +++ b/amxmodx/meta_api.cpp @@ -433,7 +433,7 @@ void C_ServerDeactivate_Post() { g_initialized = false; - detachReloadModules(); + dettachReloadModules(); g_auth.clear(); g_forwards.clear(); @@ -535,9 +535,9 @@ void C_ClientDisconnect( edict_t *pEntity ) { CPlayer *pPlayer = GET_PLAYER_POINTER(pEntity); if (pPlayer->ingame) { executeForwards(FF_ClientDisconnect, pPlayer->index); - pPlayer->Disconnect(); --g_players_num; } + pPlayer->Disconnect(); RETURN_META(MRES_IGNORED); } @@ -1106,7 +1106,7 @@ C_DLLEXPORT int Meta_Detach(PLUG_LOADTIME now, PL_UNLOAD_REASON reason) { g_plugins.clear(); g_cvars.clear(); - detachModules(); + dettachModules(); // ###### Now detach metamod modules g_FakeMeta.Meta_Detach(now, reason);