From 30ec1eec60ab479bee46663939309ce00f7a9f8d Mon Sep 17 00:00:00 2001 From: Lukasz Wlasinksi Date: Sun, 19 Sep 2004 19:44:47 +0000 Subject: [PATCH] fixed meta result error in player prethink --- dlls/dod2/dodx/moduleconfig.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/dod2/dodx/moduleconfig.cpp b/dlls/dod2/dodx/moduleconfig.cpp index d1cad399..0856fd8c 100755 --- a/dlls/dod2/dodx/moduleconfig.cpp +++ b/dlls/dod2/dodx/moduleconfig.cpp @@ -151,11 +151,11 @@ void ServerActivate_Post( edict_t *pEdictList, int edictCount, int clientMax ){ void PlayerPreThink_Post( edict_t *pEntity ) { if ( !isModuleActive() ) - return; + RETURN_META(MRES_IGNORED); CPlayer *pPlayer = GET_PLAYER_POINTER(pEntity); if ( !pPlayer->ingame ) - return; + RETURN_META(MRES_IGNORED); if (pPlayer->clearStats && pPlayer->clearStats < gpGlobals->time){ if ( !ignoreBots(pEntity) ){