summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoman Tetelman <kevlarman@gmail.com>2009-10-03 13:02:16 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:16:25 +0000
commit65dccf79c1729739c719951029833538190093b8 (patch)
treec86110e717a3db7538acc68a1d0562970836aa17 /src
parentd1c743c5c2f4590a7281bc19ab6528c50a5b8993 (diff)
* ckit no longer has a "don't repair" button (fixes #18)
Diffstat (limited to 'src')
-rw-r--r--src/game/bg_misc.c2
-rw-r--r--src/game/g_weapon.c2
2 files changed, 2 insertions, 2 deletions
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;
}
}
}