summaryrefslogtreecommitdiff
path: root/video
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-12-28 19:38:09 +0000
committerDarkvater <darkvater@openttd.org>2006-12-28 19:38:09 +0000
commitf11a9c4b358643a66a2293cccf2822d1aac6af43 (patch)
tree66b066892f39cd045bba906de83880269ed34b0c /video
parent9adab94ebd8d76fc2b55e45fd26c12fa5ecd15bc (diff)
downloadopenttd-f11a9c4b358643a66a2293cccf2822d1aac6af43.tar.xz
(svn r7602) -Fix (r7565): MSVC2003 and lower don't support variadic macros, so work around
this and thank MS for such a crappy, shitty crap compiler.
Diffstat (limited to 'video')
-rw-r--r--video/dedicated_v.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/video/dedicated_v.c b/video/dedicated_v.c
index c4a74e902..824ca2936 100644
--- a/video/dedicated_v.c
+++ b/video/dedicated_v.c
@@ -118,8 +118,7 @@ static const char *DedicatedVideoStart(const char * const *parm)
_screen.height = _cur_resolution[1];
_dedicated_video_mem = malloc(_cur_resolution[0]*_cur_resolution[1]);
- _debug_net_level = 6;
- _debug_misc_level = 0;
+ SetDebugString("net=6");
#ifdef WIN32
// For win32 we need to allocate a console (debug mode does the same)