(svn r24172) -Cleanup: Lighthouse and transmitter no longer need special treatment to not appear in the object GUI.

This commit is contained in:
frosch 2012-04-22 16:28:42 +00:00
parent 971b3b5fa5
commit f0559db37c
1 changed files with 0 additions and 3 deletions

View File

@ -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;