From 44eaf2e6e027ad72481b05e8cec8427f67ae6537 Mon Sep 17 00:00:00 2001 From: krazykaze81 Date: Wed, 14 Apr 2021 11:37:33 -0400 Subject: [PATCH] #315 only call SetWolfSpawnWeapons on actual spawn not revive --- src/game/g_client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/game/g_client.c b/src/game/g_client.c index 9709f452..282f960e 100644 --- a/src/game/g_client.c +++ b/src/game/g_client.c @@ -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