(svn r1240) -Fix: OpenTTD once again compiles if ENABLE_NETWORK is disabled.
-Fix: removed some warnings -Enabled ENABLE_NETWORK on windows again which I accidentally commented out.
This commit is contained in:
@@ -34,7 +34,7 @@ static void *_dedicated_video_mem;
|
||||
|
||||
#ifdef UNIX
|
||||
/* We want to fork our dedicated server */
|
||||
void DedicatedFork()
|
||||
void DedicatedFork(void)
|
||||
{
|
||||
/* Fork the program */
|
||||
_dedicated_pid = fork();
|
||||
@@ -242,6 +242,7 @@ static const char *DedicatedVideoStart(char **parm) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void DedicatedFork(void) {}
|
||||
static void DedicatedVideoStop() { free(_dedicated_video_mem); }
|
||||
static void DedicatedVideoMakeDirty(int left, int top, int width, int height) {}
|
||||
static bool DedicatedVideoChangeRes(int w, int h) { return false; }
|
||||
|
||||
Reference in New Issue
Block a user