mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r15081) -Fix (r15080): of course it's about southern border, not northern...
This commit is contained in:
parent
9d6a7127f6
commit
514cf26325
@ -114,7 +114,7 @@ static void GenerateRockyArea(TileIndex end, TileIndex start)
|
||||
bool GUIPlaceProcDragXY(ViewportDragDropSelectionProcess proc, TileIndex start_tile, TileIndex end_tile)
|
||||
{
|
||||
/* When end_tile is MP_VOID, the DoCommandP checks will deny this command without any
|
||||
* user-visible reason. This happens when terraforming at the northern border. */
|
||||
* user-visible reason. This happens when terraforming at the southern border. */
|
||||
if (TileX(end_tile) == MapMaxX()) end_tile += TileDiffXY(-1, 0);
|
||||
if (TileY(end_tile) == MapMaxY()) end_tile += TileDiffXY(0, -1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user