From 7cbc7a0d63a702b0d4f1b9e8fa2317b033baed08 Mon Sep 17 00:00:00 2001 From: Daniel Simoes Date: Sun, 5 May 2002 16:51:36 +0000 Subject: [PATCH] Fixed a problem on MakeAllPlayersObservers() --- reaction/game/g_teamplay.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/reaction/game/g_teamplay.c b/reaction/game/g_teamplay.c index ef8a2cdf..9fbd7b04 100644 --- a/reaction/game/g_teamplay.c +++ b/reaction/game/g_teamplay.c @@ -5,8 +5,8 @@ //----------------------------------------------------------------------------- // // $Log$ -// Revision 1.79 2002/05/05 15:51:16 slicer -// Captain and subs get saved on map_restarts ( moved to "sess" ) +// Revision 1.80 2002/05/05 16:51:36 slicer +// Fixed a problem on MakeAllPlayersObservers() // // Revision 1.78 2002/05/05 04:23:00 jbravo // Some MM fixes and cleanups @@ -473,6 +473,10 @@ void MakeAllLivePlayersObservers() //Slicer: Need to check if they are solid or not. if (!player->inuse || player->client->ps.pm_type != PM_NORMAL) continue; + //Slicer Adding this.. + level.clients[i].ps.pm_type = PM_DEAD; + level.clients[i].ps.weapon = WP_NONE; + level.clients[i].sess.savedTeam = level.clients[i].sess.sessionTeam; level.clients[i].ps.persistant[PERS_SAVEDTEAM] = level.clients[i].sess.sessionTeam; level.clients[i].sess.sessionTeam = TEAM_SPECTATOR;