From 24c78e1f184a1b0abaa77b8d0cbcf229be222a71 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Mon, 17 Oct 2005 01:19:37 +0000 Subject: * Fixed a silly bug with using the reactor/repeater --- src/game/g_buildable.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c index 4bd8e963..fddbaf13 100644 --- a/src/game/g_buildable.c +++ b/src/game/g_buildable.c @@ -1520,7 +1520,8 @@ void HRepeater_Use( gentity_t *self, gentity_t *other, gentity_t *activator ) if( !self->spawned ) return; - G_GiveClientMaxAmmo( self, qtrue ); + if( other ) + G_GiveClientMaxAmmo( other, qtrue ); } -- cgit