diff options
author | frosch <frosch@openttd.org> | 2012-04-22 16:28:42 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-04-22 16:28:42 +0000 |
commit | f0559db37cb8575f1645c0197583b531451c984d (patch) | |
tree | f6d955453e2e946134cdfa0d6e3862ec4afed726 /src | |
parent | 971b3b5fa595f7c984f1092d6b01ed3ff60eeb01 (diff) | |
download | openttd-f0559db37cb8575f1645c0197583b531451c984d.tar.xz |
(svn r24172) -Cleanup: Lighthouse and transmitter no longer need special treatment to not appear in the object GUI.
Diffstat (limited to 'src')
-rw-r--r-- | src/newgrf_object.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/newgrf_object.cpp b/src/newgrf_object.cpp index e38fa9c9e..19507c326 100644 --- a/src/newgrf_object.cpp +++ b/src/newgrf_object.cpp @@ -99,9 +99,6 @@ void ResetObjects() template <typename Tspec, typename Tid, Tid Tmax> /* static */ void NewGRFClass<Tspec, Tid, Tmax>::InsertDefaults() { - /* We only add the transmitters in the scenario editor. */ - if (_game_mode != GM_EDITOR) return; - ObjectClassID cls = ObjectClass::Allocate('LTHS'); ObjectClass::Get(cls)->name = STR_OBJECT_CLASS_LTHS; _object_specs[OBJECT_LIGHTHOUSE].cls_id = cls; |