mirror of
https://github.com/Q3Rally-Team/q3rally.git
synced 2024-11-22 03:51:23 +00:00
Fix players in race spawning with invisible gauntlet
This commit is contained in:
parent
c37b8b8f52
commit
ed6fbd1796
1 changed files with 1 additions and 1 deletions
|
@ -1657,7 +1657,7 @@ void ClientSpawn(gentity_t *ent) {
|
||||||
// fire the targets of the spawn point
|
// fire the targets of the spawn point
|
||||||
G_UseTargets(spawnPoint, ent);
|
G_UseTargets(spawnPoint, ent);
|
||||||
// select the highest weapon number available, after any spawn given items have fired
|
// select the highest weapon number available, after any spawn given items have fired
|
||||||
client->ps.weapon = 1;
|
client->ps.weapon = WP_NONE;
|
||||||
|
|
||||||
for (i = WP_NUM_WEAPONS - 1 ; i > 0 ; i--) {
|
for (i = WP_NUM_WEAPONS - 1 ; i > 0 ; i--) {
|
||||||
if (client->ps.stats[STAT_WEAPONS] & (1 << i)) {
|
if (client->ps.stats[STAT_WEAPONS] & (1 << i)) {
|
||||||
|
|
Loading…
Reference in a new issue