(svn r4595) - Fix (FS#63) Music volume is now restored to the value saved in openttd.cfg

This commit is contained in:
glx 2006-04-27 21:05:32 +00:00
parent 2f3401b487
commit 02d07a056f
1 changed files with 3 additions and 0 deletions

View File

@ -442,6 +442,9 @@ int ttd_main(int argc, char* argv[])
LoadDriver(VIDEO_DRIVER, _ini_videodriver); // load video last, to prevent an empty window while sound and music loads
_savegame_sort_order = SORT_BY_DATE | SORT_DESCENDING;
// restore saved music volume
_music_driver->set_volume(msf.music_vol);
#ifdef ENABLE_NETWORK
// initialize network-core
NetworkStartUp();