Merge branch 'master' into jgrpp
# Conflicts: # .github/workflows/ci-build.yml # .github/workflows/codeql.yml # .github/workflows/release-linux.yml # .github/workflows/release-macos.yml # .github/workflows/release-windows.yml # src/map.cpp # src/music/midifile.hpp # src/order_cmd.cpp # src/order_gui.cpp # src/pathfinder/yapf/yapf_rail.cpp # src/pbs.cpp # src/saveload/afterload.cpp # src/saveload/saveload.h # src/saveload/vehicle_sl.cpp # src/script/api/script_text.cpp # src/ship_cmd.cpp # src/train_cmd.cpp # src/vehicle.cpp # src/vehicle_base.h # src/vehicle_func.h # src/vehicle_gui.cpp # src/vehicle_gui_base.h # src/viewport.cpp # src/waypoint_cmd.cpp
This commit is contained in:
@@ -340,7 +340,7 @@ bool HasFoundationNW(TileIndex tile, Slope slope_here, uint z_here)
|
||||
int z_N_here = z_here;
|
||||
GetSlopePixelZOnEdge(slope_here, DIAGDIR_NW, z_W_here, z_N_here);
|
||||
|
||||
auto [slope, z] = GetFoundationPixelSlope(TILE_ADDXY(tile, 0, -1));
|
||||
auto [slope, z] = GetFoundationPixelSlope(TileAddXY(tile, 0, -1));
|
||||
int z_W = z;
|
||||
int z_N = z;
|
||||
GetSlopePixelZOnEdge(slope, DIAGDIR_SE, z_W, z_N);
|
||||
@@ -357,7 +357,7 @@ bool HasFoundationNE(TileIndex tile, Slope slope_here, uint z_here)
|
||||
int z_N_here = z_here;
|
||||
GetSlopePixelZOnEdge(slope_here, DIAGDIR_NE, z_E_here, z_N_here);
|
||||
|
||||
auto [slope, z] = GetFoundationPixelSlope(TILE_ADDXY(tile, -1, 0));
|
||||
auto [slope, z] = GetFoundationPixelSlope(TileAddXY(tile, -1, 0));
|
||||
int z_E = z;
|
||||
int z_N = z;
|
||||
GetSlopePixelZOnEdge(slope, DIAGDIR_SW, z_E, z_N);
|
||||
|
Reference in New Issue
Block a user