Use engine export for enttools client print

This commit is contained in:
mittorn 2018-08-02 18:40:15 +07:00
parent bd268dbf15
commit 95ccc3b2bb
2 changed files with 3 additions and 3 deletions

View File

@ -192,10 +192,10 @@ void Ent_ClientPrintf( edict_t *player, const char *format, ... )
va_end( argptr );
string[len] = 0;
ClientPrint( &player->v, HUD_PRINTCONSOLE, string );
//ClientPrint( &player->v, HUD_PRINTCONSOLE, string );
CLIENT_PRINTF( player, print_console, string );
}
static edict_t *Ent_GetCrossEnt( edict_t *player )
{
edict_t *ent = g_engfuncs.pfnPEntityOfEntIndex(1);

View File

@ -751,7 +751,7 @@ bool GGM_ClientCommand( CBasePlayer *pPlayer, const char *pcmd )
}
else if( COOP_ClientCommand( pPlayer->edict() ) )
return true;
else if( !Ent_ProcessClientCommand( pPlayer->edict() ) )
else if( Ent_ProcessClientCommand( pPlayer->edict() ) )
return true;
return false;