Mercurial > hg > openttd
changeset 14070:b60b5954b2a4 draft
(svn r18613) -Codechange: add the music set to the crashlog too
author | rubidium <rubidium@openttd.org> |
---|---|
date | Wed, 23 Dec 2009 17:33:45 +0000 |
parents | 7b6847586d1b |
children | 2c01d0796d1d |
files | src/crashlog.cpp |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/crashlog.cpp +++ b/src/crashlog.cpp @@ -86,6 +86,7 @@ " Graphics set: %s\n" " Language: %s\n" " Music driver: %s\n" + " Music set: %s\n" " Sound driver: %s\n" " Sound set: %s\n" " Video driver: %s\n\n", @@ -93,6 +94,7 @@ BaseGraphics::GetUsedSet() == NULL ? "none" : BaseGraphics::GetUsedSet()->name, StrEmpty(_dynlang.curr_file) ? "none" : _dynlang.curr_file, _music_driver == NULL ? "none" : _music_driver->GetName(), + BaseMusic::GetUsedSet() == NULL ? "none" : BaseMusic::GetUsedSet()->name, _sound_driver == NULL ? "none" : _sound_driver->GetName(), BaseSounds::GetUsedSet() == NULL ? "none" : BaseSounds::GetUsedSet()->name, _video_driver == NULL ? "none" : _video_driver->GetName()