summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-10-18 14:16:29 +0000
committersmatz <smatz@openttd.org>2008-10-18 14:16:29 +0000
commit7a031b60cd23deab0a4d05a653034bb2f612b841 (patch)
tree34ddbf49e23d99a8cdbacc4dbd159bac1326049c /src
parentf2eba8b0bf26d1f135770a1603c5d48e24ed98d9 (diff)
downloadopenttd-7a031b60cd23deab0a4d05a653034bb2f612b841.tar.xz
(svn r14486) -Fix (r13343)(r14484): compilation with desync debug was broken
Diffstat (limited to 'src')
-rw-r--r--src/core/random_func.cpp2
-rw-r--r--src/network/network.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/core/random_func.cpp b/src/core/random_func.cpp
index bbbd38b9a..5147509e6 100644
--- a/src/core/random_func.cpp
+++ b/src/core/random_func.cpp
@@ -35,7 +35,7 @@ void SetRandomSeed(uint32 seed)
}
#ifdef RANDOM_DEBUG
-#include "../network/network_data.h"
+#include "../network/network_internal.h"
#include "../variables.h" /* _frame_counter */
#include "../company_func.h"
diff --git a/src/network/network.cpp b/src/network/network.cpp
index 0b900adb9..6ee777648 100644
--- a/src/network/network.cpp
+++ b/src/network/network.cpp
@@ -38,6 +38,7 @@
#include "../rev.h"
#ifdef DEBUG_DUMP_COMMANDS
#include "../core/alloc_func.hpp"
+ #include "../fileio_func.h"
#endif /* DEBUG_DUMP_COMMANDS */
#include "table/strings.h"
#include "../company_base.h"