From f0559db37cb8575f1645c0197583b531451c984d Mon Sep 17 00:00:00 2001 From: frosch Date: Sun, 22 Apr 2012 16:28:42 +0000 Subject: (svn r24172) -Cleanup: Lighthouse and transmitter no longer need special treatment to not appear in the object GUI. --- src/newgrf_object.cpp | 3 --- 1 file changed, 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 /* static */ void NewGRFClass::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; -- cgit v1.2.3-70-g09d2