summaryrefslogtreecommitdiff
path: root/src/music
diff options
context:
space:
mode:
authorPatric Stout <truelight@openttd.org>2018-04-11 22:07:21 +0200
committerGitHub <noreply@github.com>2018-04-11 22:07:21 +0200
commit17bd580630fe56d48daaf017f01912064658c123 (patch)
tree7213d7622e25e3e2e75fba484b04306d82af2aaf /src/music
parent66f67ac5ac6fe3401f7b8d0eb1c75b23f0475c75 (diff)
downloadopenttd-17bd580630fe56d48daaf017f01912064658c123.tar.xz
Remove: NO_DEBUG_MESSAGES was only read and setting it broke compilation (#6703)
Given any speed issue cannot be attributed to checking for _debug_NNN_level, removing this is a safe action This fixes #6652.
Diffstat (limited to 'src/music')
-rw-r--r--src/music/dmusic.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/music/dmusic.cpp b/src/music/dmusic.cpp
index de3bda843..471fb3f36 100644
--- a/src/music/dmusic.cpp
+++ b/src/music/dmusic.cpp
@@ -99,7 +99,6 @@ const char *MusicDriver_DMusic::Start(const char * const *parm)
int port = GetDriverParamInt(parm, "port", -1);
-#ifndef NO_DEBUG_MESSAGES
if (_debug_driver_level > 0) {
/* Print all valid output ports. */
char desc[DMUS_MAX_DESCRIPTION];
@@ -116,7 +115,6 @@ const char *MusicDriver_DMusic::Start(const char * const *parm)
}
}
}
-#endif
IDirectMusicPort *music_port = NULL; // NULL means 'use default port'.