mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r9964) -Fix: removing of road should not be free of charge.
This commit is contained in:
parent
f8120ef5a0
commit
4f9a0f750a
@ -740,7 +740,7 @@ static int32 ClearTile_Road(TileIndex tile, byte flags)
|
||||
if (HASBIT(rts, rt)) {
|
||||
int32 tmp_ret = DoCommand(tile, rt << 4 | GetRoadBits(tile, rt), 0, flags, CMD_REMOVE_ROAD);
|
||||
if (CmdFailed(tmp_ret)) return tmp_ret;
|
||||
ret += rt;
|
||||
ret += tmp_ret;
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user