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 | 02d07a056f5fbef6882d99c4ac0b2c614875bd2e (patch) | |
tree | bd7ab82769c5e3273a9d8b8c75a3f8da3a0d8890 | |
parent | 2f3401b4877921a6cac394eb37ae4f8603becc34 (diff) | |
download | openttd-02d07a056f5fbef6882d99c4ac0b2c614875bd2e.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(); |