mirror of
https://github.com/Q3Rally-Team/q3rally.git
synced 2024-11-21 19:41:36 +00:00
Merge pull request #44 from zturtleman/no_mgun_derby
Don't spawn with machinegun in Demolition Derby
This commit is contained in:
commit
5b5c32d0e4
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