added party full notification sound

This commit is contained in:
Chris Beck 2013-12-04 15:00:49 -05:00
parent a2b1d69755
commit 4048b66ace

View file

@ -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