summaryrefslogtreecommitdiff
path: root/src/unmovable.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-08-02 21:35:59 +0000
committerrubidium <rubidium@openttd.org>2010-08-02 21:35:59 +0000
commit55129f1fbb6451b27ac45224dcad2cb2ed911f92 (patch)
treec01c26faf0366f75d6ff2e24e8c42963382467a2 /src/unmovable.h
parent5ae4e27446c6d20855f58a3845e8b3c52fb74aa4 (diff)
downloadopenttd-55129f1fbb6451b27ac45224dcad2cb2ed911f92.tar.xz
(svn r20326) -Codechange: move UnmovableType to its own file
Diffstat (limited to 'src/unmovable.h')
-rw-r--r--src/unmovable.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/unmovable.h b/src/unmovable.h
index 2838d1879..330373cb8 100644
--- a/src/unmovable.h
+++ b/src/unmovable.h
@@ -14,6 +14,7 @@
#include "economy_func.h"
#include "strings_type.h"
+#include "unmovable_type.h"
void UpdateCompanyHQ(Company *c, uint score);
@@ -40,7 +41,7 @@ struct UnmovableSpec {
* @param index The unmovable type to fetch.
* @return The specification.
*/
- static const UnmovableSpec *Get(int index);
+ static const UnmovableSpec *Get(UnmovableType index);
/**
* Get the specification associated with a tile.