diff options
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/bg_public.h | 3 | ||||
-rw-r--r-- | src/game/g_buildable.c | 1 | ||||
-rw-r--r-- | src/game/tremulous.h | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/src/game/bg_public.h b/src/game/bg_public.h index c914643a..20fced4b 100644 --- a/src/game/bg_public.h +++ b/src/game/bg_public.h @@ -532,7 +532,8 @@ typedef enum EV_BUILD_DELAY, //TA: can't build yet EV_POISONCLOUD, //TA: client poisoned EV_KNOCKOVER, //TA: client knocked over - EV_GETUP //TA: client getting up + EV_GETUP, //TA: client getting up + EV_RPTUSE_SOUND //TA: trigger a sound } entity_event_t; typedef enum diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c index 0f6a84d2..640fa752 100644 --- a/src/game/g_buildable.c +++ b/src/game/g_buildable.c @@ -1144,6 +1144,7 @@ void HRpt_Use( gentity_t *self, gentity_t *other, gentity_t *activator ) BG_packAmmoArray( ps->weapon, ps->ammo, ps->powerups, ammo, clips, maxClips ); + G_AddEvent( activator, EV_RPTUSE_SOUND, 0 ); activator->client->lastRefilTime = level.time; } diff --git a/src/game/tremulous.h b/src/game/tremulous.h index b2da4117..884e6526 100644 --- a/src/game/tremulous.h +++ b/src/game/tremulous.h @@ -454,7 +454,7 @@ #define REPEATER_SPLASHDAMAGE 50 #define REPEATER_SPLASHRADIUS 100 -#define ENERGY_REFIL_TIME 500 //1/2 second between every clip refil +#define ENERGY_REFIL_TIME 1000 //1/2 second between every clip refil #define FLOATMINE_BP 50 #define FLOATMINE_HEALTH HBHM(10) |