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
commitbc9ceb8b74086c48c71a02037809dcd7631848d4 (patch)
tree66b066892f39cd045bba906de83880269ed34b0c /video
parent9516b4db608b2ead39106ed3f3aa9b1b223c535b (diff)
downloadopenttd-bc9ceb8b74086c48c71a02037809dcd7631848d4.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)