diff options
author | belugas <belugas@openttd.org> | 2009-02-07 02:38:32 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2009-02-07 02:38:32 +0000 |
commit | 0abf14384c36dc980ec9441734246603de929633 (patch) | |
tree | e3e263ba0a5e5b3098c9c9ff540164664965fa8d /src/unmovable.h | |
parent | bab7367a592ba3b625e350d66610fc210dbac275 (diff) | |
download | openttd-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.h | 6 |
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 */ |