From 65dccf79c1729739c719951029833538190093b8 Mon Sep 17 00:00:00 2001 From: Roman Tetelman Date: Sat, 3 Oct 2009 13:02:16 +0000 Subject: * ckit no longer has a "don't repair" button (fixes #18) --- src/game/bg_misc.c | 2 +- src/game/g_weapon.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/game/bg_misc.c b/src/game/bg_misc.c index a5c371c5..259ace23 100644 --- a/src/game/bg_misc.c +++ b/src/game/bg_misc.c @@ -2371,7 +2371,7 @@ static const weaponAttributes_t bg_weapons[ ] = qtrue, //int infiniteAmmo; qfalse, //int usesEnergy; HBUILD_REPEAT, //int repeatRate1; - HBUILD_REPEAT, //int repeatRate2; + 0, //int repeatRate2; 0, //int repeatRate3; 0, //int reloadTime; 0.0f, //float knockbackScale; diff --git a/src/game/g_weapon.c b/src/game/g_weapon.c index a7c30d02..963acf91 100644 --- a/src/game/g_weapon.c +++ b/src/game/g_weapon.c @@ -815,7 +815,7 @@ void CheckCkitRepair( gentity_t *ent ) else G_AddEvent( ent, EV_BUILD_REPAIR, 0 ); - ent->client->ps.weaponTime += BG_Weapon( ent->client->ps.weapon )->repeatRate2; + ent->client->ps.weaponTime += BG_Weapon( ent->client->ps.weapon )->repeatRate1; } } } -- cgit