fixed meta result error in player prethink

This commit is contained in:
Lukasz Wlasinksi 2004-09-19 19:44:47 +00:00
parent 0e279c5bc9
commit 30ec1eec60

View File

@ -151,11 +151,11 @@ void ServerActivate_Post( edict_t *pEdictList, int edictCount, int clientMax ){
void PlayerPreThink_Post( edict_t *pEntity ) { void PlayerPreThink_Post( edict_t *pEntity ) {
if ( !isModuleActive() ) if ( !isModuleActive() )
return; RETURN_META(MRES_IGNORED);
CPlayer *pPlayer = GET_PLAYER_POINTER(pEntity); CPlayer *pPlayer = GET_PLAYER_POINTER(pEntity);
if ( !pPlayer->ingame ) if ( !pPlayer->ingame )
return; RETURN_META(MRES_IGNORED);
if (pPlayer->clearStats && pPlayer->clearStats < gpGlobals->time){ if (pPlayer->clearStats && pPlayer->clearStats < gpGlobals->time){
if ( !ignoreBots(pEntity) ){ if ( !ignoreBots(pEntity) ){