mirror of
https://github.com/Q3Rally-Team/q3rally.git
synced 2024-11-23 12:23:02 +00:00
Don't spawn with machinegun in Demolition Derby
Fixes https://github.com/Q3Rally-Team/q3rally/issues/25
This commit is contained in:
parent
d705263511
commit
9048507722
1 changed files with 2 additions and 2 deletions
|
@ -1512,7 +1512,7 @@ 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 (!isRallyRace() && g_gametype.integer != GT_DERBY ){
|
||||
client->ps.stats[STAT_WEAPONS] = ( 1 << WP_MACHINEGUN );
|
||||
|
||||
if ( g_gametype.integer == GT_TEAM ) {
|
||||
|
@ -1642,7 +1642,7 @@ void ClientSpawn(gentity_t *ent) {
|
|||
G_KillBox(ent);
|
||||
// force the base weapon up
|
||||
// STONELANCE
|
||||
if (!isRallyRace()/* TEMP DERBY && g_gametype.integer != GT_DERBY*/){
|
||||
if (!isRallyRace() && g_gametype.integer != GT_DERBY ){
|
||||
client->ps.weapon = WP_MACHINEGUN;
|
||||
}
|
||||
else if (!isRallyNonDMRace()/*TEMP DERBY && g_gametype.integer != GT_DERBY*/){
|
||||
|
|
Loading…
Reference in a new issue