summaryrefslogtreecommitdiff
path: root/src/network/network.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/network.cpp')
-rw-r--r--src/network/network.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/network/network.cpp b/src/network/network.cpp
index 0211aebd2..4ab8d3390 100644
--- a/src/network/network.cpp
+++ b/src/network/network.cpp
@@ -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;