From 02d07a056f5fbef6882d99c4ac0b2c614875bd2e Mon Sep 17 00:00:00 2001 From: glx Date: Thu, 27 Apr 2006 21:05:32 +0000 Subject: [PATCH] (svn r4595) - Fix (FS#63) Music volume is now restored to the value saved in openttd.cfg --- openttd.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openttd.c b/openttd.c index b7ef3a6354..8d8fed663e 100644 --- a/openttd.c +++ b/openttd.c @@ -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();