Skip to content

Commit

Permalink
#315 only call SetWolfSpawnWeapons on actual spawn not revive
Browse files Browse the repository at this point in the history
  • Loading branch information
krazykaze81 committed Apr 14, 2021
1 parent 3f17483 commit 44eaf2e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/game/g_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -2468,7 +2468,8 @@ void ClientSpawn( gentity_t *ent, qboolean revived ) {
}

// End Xian
SetWolfSpawnWeapons( ent ); // JPW NERVE -- increases stats[STAT_MAX_HEALTH] based on # of medics in game
if (!revived) // RtcwPro #315 only call this if player is spawning (not getting revived)
SetWolfSpawnWeapons( ent ); // JPW NERVE -- increases stats[STAT_MAX_HEALTH] based on # of medics in game
}
// dhm - end

Expand Down

0 comments on commit 44eaf2e

Please sign in to comment.