mirror of
https://github.com/Q3Rally-Team/q3rally.git
synced 2024-11-21 19:41:36 +00:00
Restore machinegun in non-race gametypes
The change to have gauntlet in race had no effect as gauntlet is
removed a few lines below.
See commit b9c6fc91af
.
This commit is contained in:
parent
b1a0437218
commit
c37b8b8f52
1 changed files with 2 additions and 3 deletions
|
@ -1511,9 +1511,8 @@ void ClientSpawn(gentity_t *ent) {
|
|||
client->ps.clientNum = index;
|
||||
|
||||
// dont give machinegun on spawn in races
|
||||
// if (!isRallyRace()/* TEMP DERBY && g_gametype.integer != GT_DERBY */){
|
||||
if ( g_gametype.integer == GT_RACING || g_gametype.integer == GT_TEAM_RACING ) {
|
||||
client->ps.stats[STAT_WEAPONS] = ( 1 << WP_GAUNTLET );
|
||||
if (!isRallyRace()/* TEMP DERBY && g_gametype.integer != GT_DERBY */){
|
||||
client->ps.stats[STAT_WEAPONS] = ( 1 << WP_MACHINEGUN );
|
||||
|
||||
if ( g_gametype.integer == GT_TEAM ) {
|
||||
client->ps.ammo[WP_MACHINEGUN] = 50;
|
||||
|
|
Loading…
Reference in a new issue