From 55129f1fbb6451b27ac45224dcad2cb2ed911f92 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 2 Aug 2010 21:35:59 +0000 Subject: (svn r20326) -Codechange: move UnmovableType to its own file --- src/unmovable.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/unmovable.h') 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. -- cgit v1.2.3-54-g00ecf