summaryrefslogtreecommitdiff
path: root/src/game/g_weapon.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2003-08-19 03:03:41 +0000
committerTim Angus <tim@ngus.net>2003-08-19 03:03:41 +0000
commit653d19589c6c466292f396a9d298bc73fe0ea453 (patch)
tree57ef820fd8d3d1ed52d995c8e48130a0986d0fa7 /src/game/g_weapon.c
parent9d775be1fcf70285d3d55fa1f1541e088b2280a6 (diff)
* Buildables now take time to "warp in"
* A few cleanups here and there * Bye bye cg_creep.c
Diffstat (limited to 'src/game/g_weapon.c')
-rw-r--r--src/game/g_weapon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_weapon.c b/src/game/g_weapon.c
index 194d022b..2d9d0744 100644
--- a/src/game/g_weapon.c
+++ b/src/game/g_weapon.c
@@ -465,7 +465,7 @@ void cancelBuildFire( gentity_t *ent )
{
if( ent->client->ps.stats[ STAT_MISC ] > 0 )
{
- G_AddPredictableEvent( ent, EV_BUILD_DELAY, 0 );
+ G_AddEvent( ent, EV_BUILD_DELAY, ent->client->ps.clientNum );
return;
}
@@ -487,7 +487,7 @@ void buildFire( gentity_t *ent, dynMenu_t menu )
{
if( ent->client->ps.stats[ STAT_MISC ] > 0 )
{
- G_AddPredictableEvent( ent, EV_BUILD_DELAY, 0 );
+ G_AddEvent( ent, EV_BUILD_DELAY, ent->client->ps.clientNum );
return;
}