summaryrefslogtreecommitdiff
path: root/src/game/bg_misc.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2005-07-14 21:12:27 +0000
committerTim Angus <tim@ngus.net>2005-07-14 21:12:27 +0000
commit24c9dbde80155d1099ea9012f1dbf970a836e822 (patch)
tree78600ace229e4588d1c4279017b31ef5bbaa042e /src/game/bg_misc.c
parent47c89fa76f7c993e1bf3bf1dfe3945613f5b5041 (diff)
* "sell weapons" now respects the build timer
* Changed the human anticamp message * Anticamp mechanism now applies to using the reactor/repeater as it does the armoury * Anticamp mechanism is now triggered immediately after buying a weapon * Fixed bug where lcannon warning sound was missing with cg_drawGun 0 * Grenade is now an upgrade which is used like the antitox instead of a weapon * Fixed a bug where engaging spectator follow mode failed * Fixed a bug where spectator follow clients were counted as being on the team of the client followed
Diffstat (limited to 'src/game/bg_misc.c')
-rw-r--r--src/game/bg_misc.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/game/bg_misc.c b/src/game/bg_misc.c
index b22a94e8..f227046f 100644
--- a/src/game/bg_misc.c
+++ b/src/game/bg_misc.c
@@ -3152,7 +3152,7 @@ weaponAttributes_t bg_weapons[ ] =
qfalse, //qboolean hasThirdMode;
qfalse, //qboolean canZoom;
90.0f, //float zoomFov;
- qtrue, //qboolean purchasable;
+ qfalse, //qboolean purchasable;
0, //int buildDelay;
WUT_HUMANS //WUTeam_t team;
},
@@ -4009,6 +4009,16 @@ upgradeAttributes_t bg_upgrades[ ] =
WUT_HUMANS //WUTeam_t team;
},
{
+ UP_GRENADE, //int upgradeNum;
+ GRENADE_PRICE, //int price;
+ ( 1 << S2 )|( 1 << S3 ),//int stages
+ SLOT_NONE, //int slots;
+ "gren", //char *upgradeName;
+ "Grenade", //char *upgradeHumanName;
+ 0,
+ WUT_HUMANS //WUTeam_t team;
+ },
+ {
UP_AMMO, //int upgradeNum;
0, //int price;
( 1 << S1 )|( 1 << S2 )|( 1 << S3 ), //int stages