diff options
author | glx <glx@openttd.org> | 2006-04-27 21:05:32 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2006-04-27 21:05:32 +0000 |
commit | e92ec641fa41ce515b2dbcaa25574f9422f83773 (patch) | |
tree | bd7ab82769c5e3273a9d8b8c75a3f8da3a0d8890 | |
parent | 7aaedf038522579b2210d91234beb0e3cb919960 (diff) | |
download | openttd-e92ec641fa41ce515b2dbcaa25574f9422f83773.tar.xz |
(svn r4595) - Fix (FS#63) Music volume is now restored to the value saved in openttd.cfg
-rw-r--r-- | openttd.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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(); |