If multi_level_sync() fails, restart menu music since level music is playing already

This commit is contained in:
zicodxx 2010-06-29 21:14:30 +00:00
parent 47091a3d5e
commit e0d95f4f1c
2 changed files with 7 additions and 0 deletions

View file

@ -1,5 +1,9 @@
D1X-Rebirth Changelog
20100630
--------
main/gameseq.c: If multi_level_sync() fails, restart menu music since level music is playing already
20100629
--------
main/net_ipx.c, main/net_udp.c: Aligned default width for IPX-Netlist menu to fit possible items a bit better; Fixed two small bugs when sending and receiving lite_info in UDP; Allowed broadcast on UDP sockets (for later use)

View file

@ -1171,7 +1171,10 @@ void StartNewLevelSub(int level_num, int page_in_textures)
if (Game_mode & GM_NETWORK)
{
if(multi_level_sync()) // After calling this, Player_num is set
{
songs_play_song( SONG_TITLE, 1 ); // level song already plays but we fail to start level...
return;
}
}
#endif