equal
deleted
inserted
replaced
235 |
235 |
236 for (x = sx; x <= ex; x++) { |
236 for (x = sx; x <= ex; x++) { |
237 for (y = sy; y <= ey; y++) { |
237 for (y = sy; y <= ey; y++) { |
238 TileIndex tile = TileXY(x, y); |
238 TileIndex tile = TileXY(x, y); |
239 |
239 |
240 if (!EnsureNoVehicle(tile)) continue; |
|
241 |
|
242 switch (GetTileType(tile)) { |
240 switch (GetTileType(tile)) { |
243 case MP_TREES: |
241 case MP_TREES: |
244 // no more space for trees? |
242 // no more space for trees? |
245 if (_game_mode != GM_EDITOR && GetTreeCount(tile) == 3) { |
243 if (_game_mode != GM_EDITOR && GetTreeCount(tile) == 3) { |
246 msg = STR_2803_TREE_ALREADY_HERE; |
244 msg = STR_2803_TREE_ALREADY_HERE; |