Remove playing of team-specific music: requested by Ivanovic
This commit is contained in:
parent
29956f628d
commit
143ed48519
1 changed files with 0 additions and 10 deletions
|
@ -457,16 +457,6 @@ LEVEL_RESULT play_level(const game_data& gameinfo, const config& game_config,
|
|||
LOG_NG << "result of replay: " << (replaying?"true":"false") << "\n";
|
||||
}
|
||||
|
||||
if(!replaying && team_it->music().empty() == false &&
|
||||
(teams[gui.viewing_team()].knows_about_team(player_number-1) || teams[gui.viewing_team()].has_seen(player_number-1))) {
|
||||
LOG_NG << "playing music: '" << team_it->music() << "'\n";
|
||||
sound::play_music_repeatedly(team_it->music());
|
||||
} else if(!replaying && team_it->music().empty() == false){
|
||||
LOG_NG << "playing music: '" << game_config::anonymous_music<< "'\n";
|
||||
sound::play_music_repeatedly(game_config::anonymous_music);
|
||||
}
|
||||
// else leave old music playing, it's a scenario specific music
|
||||
|
||||
//goto this label if the type of a team (human/ai/networked) has changed mid-turn
|
||||
redo_turn:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue