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
commit3f104194d6a99cd8d261b12d015cb2991f7e94ce (patch)
treeaeebf92b3204ae9c923545d7e06e0c2c6deab0ba /src/video
parentaf2429f8e07ffe735ff67152ed2129ddf7329e4a (diff)
downloadopenttd-3f104194d6a99cd8d261b12d015cb2991f7e94ce.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>