summaryrefslogtreecommitdiff
path: root/src/game/g_buildable.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_buildable.c')
-rw-r--r--src/game/g_buildable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c
index df85b49f..d51465f6 100644
--- a/src/game/g_buildable.c
+++ b/src/game/g_buildable.c
@@ -606,7 +606,7 @@ Used by HDef_Think to fire at enemy
void hdef_fireonenemy( gentity_t *self, int firespeed )
{
//fire at target
- G_AddEvent( self, EV_FIRE_WEAPON, 0 );
+ FireWeapon( self );
self->count = level.time + firespeed;
}