forked from mirror/OpenTTD
(svn r150) -Fix: [1010833] Turning on the magic bulldozer removes oil rigs
-Fix: [993493] Buildings on water -Feature: Water floods everything, including vehicles.
This commit is contained in:
@@ -630,7 +630,7 @@ int32 CmdBuildRoadDepot(int x, int y, uint32 flags, uint32 p1, uint32 p2)
|
||||
|
||||
static int32 RemoveRoadDepot(uint tile, uint32 flags)
|
||||
{
|
||||
if (!CheckTileOwnership(tile))
|
||||
if (!CheckTileOwnership(tile) && _current_player != OWNER_WATER)
|
||||
return CMD_ERROR;
|
||||
|
||||
if (!EnsureNoVehicle(tile))
|
||||
|
Reference in New Issue
Block a user