summaryrefslogtreecommitdiff
path: root/src/game/bg_misc.c
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2015-06-22 16:12:48 +0200
committerPaweł Redman <pawel.redman@gmail.com>2015-06-22 16:12:48 +0200
commitef1dd29cd38abd1f2c008bdd32ca767620613895 (patch)
tree40ccd8a421ac8206a4de95600aac138f0467e74a /src/game/bg_misc.c
parent43763238a0187c885482283c8d7e5ae0137423b5 (diff)
Remove Flamer primary.
Diffstat (limited to 'src/game/bg_misc.c')
-rw-r--r--src/game/bg_misc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/game/bg_misc.c b/src/game/bg_misc.c
index 8a993aa..0780ab8 100644
--- a/src/game/bg_misc.c
+++ b/src/game/bg_misc.c
@@ -3336,12 +3336,12 @@ static const weaponAttributes_t bg_weapons[ ] =
qfalse, //int infiniteAmmo;
qfalse, //int usesEnergy;
FLAMER_REPEAT, //int repeatRate1;
- FLAMER_SECONDARY_REPEAT, //int repeatRate2;
- FLAMER_REPEAT, //int repeatRate3;
+ 0, //int repeatRate2;
+ 0, //int repeatRate3;
3000, //int reloadTime;
FLAMER_K_SCALE, //float knockbackScale;
- qtrue, //qboolean hasAltMode;
- qtrue, //qboolean hasThirdMode;
+ qfalse, //qboolean hasAltMode;
+ qfalse, //qboolean hasThirdMode;
qfalse, //qboolean canZoom;
90.0f, //float zoomFov;
qtrue, //qboolean purchasable;
@@ -4646,7 +4646,7 @@ BG_PlayerCanChangeWeapon
qboolean BG_PlayerCanChangeWeapon( playerState_t *ps )
{
// Do not allow Lucifer Cannon "canceling" via weapon switch
- if( (ps->weapon == WP_LUCIFER_CANNON || ps->weapon == WP_FLAMER) &&
+ if( ps->weapon == WP_LUCIFER_CANNON &&
ps->stats[ STAT_MISC ] > LCANNON_CHARGE_TIME_MIN )
return qfalse;