mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-09-01 10:59:12 +00:00
(svn r15081) -Fix (r15080): of course it's about southern border, not northern...
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user