diff options
author | Darkvater <Darkvater@openttd.org> | 2006-12-28 19:38:09 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2006-12-28 19:38:09 +0000 |
commit | bc9ceb8b74086c48c71a02037809dcd7631848d4 (patch) | |
tree | 66b066892f39cd045bba906de83880269ed34b0c /video/dedicated_v.c | |
parent | 9516b4db608b2ead39106ed3f3aa9b1b223c535b (diff) | |
download | openttd-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/dedicated_v.c')
-rw-r--r-- | video/dedicated_v.c | 3 |
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) |