mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-02-08 21:14:14 +00:00
Use engine export for enttools client print
This commit is contained in:
parent
bd268dbf15
commit
95ccc3b2bb
@ -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);
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user