void UpdateEngineValues(int, int, int, int);
boolean getTeamMode_EM(void);
+boolean isActivePlayer_EM(int);
void PlayLevelSound_EM(int, int, int, int);
void InitGraphicInfo_EM(void);
/* assign active players */
for (i = 0; i < MAX_PLAYERS; i++)
{
- if (ply[i].exists)
+ if (ply[i].exists && isActivePlayer_EM(i))
{
if (players_left)
{
return game.team_mode || network_playing;
}
+boolean isActivePlayer_EM(int player_nr)
+{
+ return stored_player[player_nr].active;
+}
+
unsigned int InitRND(int seed)
{
if (level.game_engine_type == GAME_ENGINE_TYPE_EM)