mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-08 15:30:00 +00:00
(svn r24172) -Cleanup: Lighthouse and transmitter no longer need special treatment to not appear in the object GUI.
This commit is contained in:
parent
971b3b5fa5
commit
f0559db37c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user