equal
deleted
inserted
replaced
1021 * @param p1 unused |
1021 * @param p1 unused |
1022 * @param p2 unused |
1022 * @param p2 unused |
1023 */ |
1023 */ |
1024 int32 CmdBuildTown(int x, int y, uint32 flags, uint32 p1, uint32 p2) |
1024 int32 CmdBuildTown(int x, int y, uint32 flags, uint32 p1, uint32 p2) |
1025 { |
1025 { |
1026 TileIndex tile = TILE_FROM_XY(x,y); |
1026 TileIndex tile = TileVirtXY(x, y); |
1027 TileInfo ti; |
1027 TileInfo ti; |
1028 Town *t; |
1028 Town *t; |
1029 uint32 townnameparts; |
1029 uint32 townnameparts; |
1030 |
1030 |
1031 /* Only in the scenario editor */ |
1031 /* Only in the scenario editor */ |