summaryrefslogtreecommitdiff
path: root/debug.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-07-27 19:57:12 +0000
committertron <tron@openttd.org>2005-07-27 19:57:12 +0000
commit5fd69294ee2e4a8687d27c33557065ff3352519d (patch)
tree2d81a3e658bac637585e76cd5f1b80266f4b05b6 /debug.h
parent8afa32d470ee5d38d858ec0ef1bddd8544a89d84 (diff)
downloadopenttd-5fd69294ee2e4a8687d27c33557065ff3352519d.tar.xz
(svn r2728) -Fix/Feature: Change the driver probing algorithm
Instead of trying to start a single driver and bailing out if that fails, try to initialise one by one and use the first one which succeeds. This should fix problems on machines with no sound card, where -s null had to be specified manually.
Diffstat (limited to 'debug.h')
-rw-r--r--debug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/debug.h b/debug.h
index 4f46b1af0..b89722685 100644
--- a/debug.h
+++ b/debug.h
@@ -9,6 +9,7 @@
#define DEBUG(name, level) if (level == 0 || _debug_ ## name ## _level >= level) debug
extern int _debug_ai_level;
+ extern int _debug_driver_level;
extern int _debug_grf_level;
extern int _debug_map_level;
extern int _debug_misc_level;