summaryrefslogtreecommitdiff
path: root/src/game/g_target.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2006-04-09 22:05:35 +0000
committerTim Angus <tim@ngus.net>2006-04-09 22:05:35 +0000
commit25fcd1f90c39ce5c7eb4dfab0fedb4388ad4289c (patch)
tree9680d9ae32cd6fb4cfcfc175a2c4446d237c969c /src/game/g_target.c
parentcf9b7835e0f7021739bc620ac51c6081036faaee (diff)
* Removed CS_SCORE? config strings -- they were unused
* Moved server command queuing from game to server -- sv_dequeuePeriod probably needs to be lowered * Added g_friendlyBuildableFire to enable friendly buildable fire
Diffstat (limited to 'src/game/g_target.c')
-rw-r--r--src/game/g_target.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_target.c b/src/game/g_target.c
index 60a090b6..1a32ce77 100644
--- a/src/game/g_target.c
+++ b/src/game/g_target.c
@@ -85,7 +85,7 @@ void Use_Target_Print( gentity_t *ent, gentity_t *other, gentity_t *activator )
{
if( activator->client && ( ent->spawnflags & 4 ) )
{
- G_SendCommandFromServer( activator-g_entities, va( "cp \"%s\"", ent->message ) );
+ trap_SendServerCommand( activator-g_entities, va( "cp \"%s\"", ent->message ) );
return;
}
@@ -99,7 +99,7 @@ void Use_Target_Print( gentity_t *ent, gentity_t *other, gentity_t *activator )
return;
}
- G_SendCommandFromServer( -1, va("cp \"%s\"", ent->message ) );
+ trap_SendServerCommand( -1, va("cp \"%s\"", ent->message ) );
}
void SP_target_print( gentity_t *ent )