summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-12-23 17:33:45 +0000
committerrubidium <rubidium@openttd.org>2009-12-23 17:33:45 +0000
commit82f927bd169876d74e40fcd3d041d9847bed3441 (patch)
treea029d59053a02dab2169c08256ce1f86349095de /src
parent52c7d9897e8fac2516f35b94b0a8d2ef5b001d1f (diff)
downloadopenttd-82f927bd169876d74e40fcd3d041d9847bed3441.tar.xz
(svn r18613) -Codechange: add the music set to the crashlog too
Diffstat (limited to 'src')
-rw-r--r--src/crashlog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/crashlog.cpp b/src/crashlog.cpp
index 2dec5ab38..c8f355115 100644
--- a/src/crashlog.cpp
+++ b/src/crashlog.cpp
@@ -86,6 +86,7 @@ char *CrashLog::LogConfiguration(char *buffer, const char *last) const
" 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 @@ char *CrashLog::LogConfiguration(char *buffer, const char *last) const
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()