summaryrefslogtreecommitdiff
path: root/src/namegen.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-01-13 01:21:35 +0000
committerrubidium <rubidium@openttd.org>2008-01-13 01:21:35 +0000
commitd4e6a6bf57216b39745b61971141e088e15e2d0d (patch)
treefc3e123d733a91dd61b578c69516fae69754c97f /src/namegen.cpp
parenta78d73805f467d3ced0a70a1758435498fd1dbac (diff)
downloadopenttd-d4e6a6bf57216b39745b61971141e088e15e2d0d.tar.xz
(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
Diffstat (limited to 'src/namegen.cpp')
-rw-r--r--src/namegen.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/namegen.cpp b/src/namegen.cpp
index 901c7175c..26b117126 100644
--- a/src/namegen.cpp
+++ b/src/namegen.cpp
@@ -6,9 +6,10 @@
#include "openttd.h"
#include "debug.h"
#include "namegen.h"
-#include "table/namegen.h"
#include "string_func.h"
+#include "table/namegen.h"
+
static inline uint32 SeedChance(int shift_by, int max, uint32 seed)
{
return (GB(seed, shift_by, 16) * max) >> 16;