added party full notification sound
This commit is contained in:
parent
a2b1d69755
commit
4048b66ace
1 changed files with 6 additions and 0 deletions
|
@ -26,6 +26,7 @@
|
|||
#include "log.hpp"
|
||||
#include "map.hpp"
|
||||
#include "wml_separators.hpp"
|
||||
#include "sound.hpp"
|
||||
|
||||
#include <boost/foreach.hpp>
|
||||
|
||||
|
@ -580,6 +581,11 @@ void connect::update_playerlist_state(bool silent)
|
|||
set_user_list(playerlist, silent);
|
||||
set_user_menu_items(playerlist);
|
||||
}
|
||||
|
||||
if ((engine_.sides_available() != true) && (silent != true)) {
|
||||
DBG_MP << "play game full sound" << std::endl;
|
||||
sound::play_UI_sound(game_config::sounds::receive_message_highlight);
|
||||
}
|
||||
}
|
||||
|
||||
} // end namespace mp
|
||||
|
|
Loading…
Add table
Reference in a new issue