summaryrefslogtreecommitdiff
path: root/src/video
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-01-29 00:26:31 +0000
committerrubidium <rubidium@openttd.org>2008-01-29 00:26:31 +0000
commitfde33b554790379af624e3c4c548535ca4097546 (patch)
treeaeebf92b3204ae9c923545d7e06e0c2c6deab0ba /src/video
parent1a9b741e43aae8f0b3e50b847397106fd661b7e9 (diff)
downloadopenttd-fde33b554790379af624e3c4c548535ca4097546.tar.xz
(svn r12003) -Codechange: don't declare InteractiveRandom[Range] in multiple places.
Diffstat (limited to 'src/video')
-rw-r--r--src/video/dedicated_v.cpp1
-rw-r--r--src/video/sdl_v.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/video/dedicated_v.cpp b/src/video/dedicated_v.cpp
index c952ff093..df15663d8 100644
--- a/src/video/dedicated_v.cpp
+++ b/src/video/dedicated_v.cpp
@@ -17,6 +17,7 @@
#include "../blitter/factory.hpp"
#include "../core/alloc_func.hpp"
#include "../player_func.h"
+#include "../core/random_func.hpp"
#include "dedicated_v.h"
#ifdef BEOS_NET_SERVER
diff --git a/src/video/sdl_v.cpp b/src/video/sdl_v.cpp
index f52478c5d..25ce5a8c6 100644
--- a/src/video/sdl_v.cpp
+++ b/src/video/sdl_v.cpp
@@ -12,6 +12,7 @@
#include "../blitter/factory.hpp"
#include "../network/network.h"
#include "../core/math_func.hpp"
+#include "../core/random_func.hpp"
#include "sdl_v.h"
#include <SDL.h>