diff options
Diffstat (limited to 'src/game/g_target.c')
-rw-r--r-- | src/game/g_target.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_target.c b/src/game/g_target.c index 64a3f33e..f57f173e 100644 --- a/src/game/g_target.c +++ b/src/game/g_target.c @@ -78,7 +78,7 @@ void Use_Target_Print( gentity_t *ent, gentity_t *other, gentity_t *activator ) { if( activator->client && ( ent->spawnflags & 4 ) ) { - trap_SendServerCommand( activator-g_entities, va( "cp \"%s\"", ent->message ) ); + G_SendCommandFromServer( activator-g_entities, va( "cp \"%s\"", ent->message ) ); return; } @@ -92,7 +92,7 @@ void Use_Target_Print( gentity_t *ent, gentity_t *other, gentity_t *activator ) return; } - trap_SendServerCommand( -1, va("cp \"%s\"", ent->message ) ); + G_SendCommandFromServer( -1, va("cp \"%s\"", ent->message ) ); } void SP_target_print( gentity_t *ent ) |