FS#2002 - Using level tool in scenario editor makes tiles brown.

Attached to Project: OpenTTD
Opened by Manuel Wolf (Roujin) - Saturday, 10 May 2008, 01:01 GMT
Type Bug
Category Core
Status Closed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


When terraforming in the scenario editor, normally the land shouldn't get brown. But when using the level land tool, it does get brown.

I'm attaching a patch with my suggested fix of this bug: if we check for GM_EDITOR in CmdTerraformLand (terraform_cmd.cpp) instead of in the gui code, all terraforming actions are guaranteed to cause land to be green if we are in the editor. (also future ones, if my drag&draw patch is to be accepted)
This task depends upon

Closed by  Jean-Francois Claeys (Belugas)
Monday, 19 May 2008, 01:51 GMT
Reason for closing:  Fixed
Additional comments about closing:  r13177