summaryrefslogtreecommitdiff
path: root/src/unmovable.h
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2009-02-07 02:38:32 +0000
committerbelugas <belugas@openttd.org>2009-02-07 02:38:32 +0000
commit0abf14384c36dc980ec9441734246603de929633 (patch)
treee3e263ba0a5e5b3098c9c9ff540164664965fa8d /src/unmovable.h
parentbab7367a592ba3b625e350d66610fc210dbac275 (diff)
downloadopenttd-0abf14384c36dc980ec9441734246603de929633.tar.xz
(svn r15392) -Codechange: move the spec getter to a place where it's only required, without the use of extern
Diffstat (limited to 'src/unmovable.h')
-rw-r--r--src/unmovable.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/unmovable.h b/src/unmovable.h
index f640a2ece..777b6af90 100644
--- a/src/unmovable.h
+++ b/src/unmovable.h
@@ -21,11 +21,5 @@ struct UnmovableSpec {
};
-extern const UnmovableSpec _original_unmovable[];
-
-static inline const UnmovableSpec *GetUnmovableSpec(UnmovableType type)
-{
- return &_original_unmovable[type];
-}
#endif /* UNMOVABLE_H */