(svn r8372) -Fix (8361): NUM_LANDSCAPE comes (via some detour) from openttd.h, which does not exist in the masterserver/updater.

This commit is contained in:
rubidium
2007-01-23 14:47:38 +00:00
parent c856c26611
commit 269c1a58a0
3 changed files with 14 additions and 2 deletions

View File

@@ -38,6 +38,9 @@
#include <stdarg.h> /* va_list */
#include "../md5.h"
/* Check whether NETWORK_NUM_LANDSCAPES is still in sync with NUM_LANDSCAPE */
assert_compile((int)NETWORK_NUM_LANDSCAPES == (int)NUM_LANDSCAPE);
// global variables (declared in network_data.h)
CommandPacket *_local_command_queue;