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
commit90acd52f22116bed4b126df0218975d2b54aa6aa (patch)
treefc3e123d733a91dd61b578c69516fae69754c97f /src/namegen.cpp
parent72c9b35b119884a393f30d8009a53db87b121c78 (diff)
downloadopenttd-90acd52f22116bed4b126df0218975d2b54aa6aa.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;