Fix for amb503 - csx module not setting meta result when paused.

This commit is contained in:
Steve Dudenhoeffer 2007-06-30 05:11:13 +00:00
parent 6f590c85f6
commit 7b6d4ce699

View File

@ -137,7 +137,9 @@ 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->clearStats && pPlayer->clearStats < gpGlobals->time ){
@ -296,7 +298,9 @@ void StartFrame_Post(){
void SetModel_Post(edict_t *e, const char *m){
if ( !isModuleActive() )
return;
{
RETURN_META(MRES_IGNORED);
}
if ( e->v.owner && m[7]=='w' && m[8]=='_' ){
int w_id = 0;