diff options
author | Tim Angus <tim@ngus.net> | 2005-10-17 01:19:37 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2005-10-17 01:19:37 +0000 |
commit | 24c78e1f184a1b0abaa77b8d0cbcf229be222a71 (patch) | |
tree | a9944c8929b871c76deceb4aec2bd5bcc8d39c30 | |
parent | b7b54979360dac5ea18da68d5f908320e33520a5 (diff) |
* Fixed a silly bug with using the reactor/repeater
-rw-r--r-- | src/game/g_buildable.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 ); } |