Changeset - r24656:1d1207996692
[Not reviewed]
master
0 1 0
Charles Pigott - 3 years ago 2021-01-13 14:56:04
charlespigott@googlemail.com
Fix #8560: Planes were landing at the wrong height at airports with lowered hangar tiles
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/aircraft_cmd.cpp
Show inline comments
 
@@ -1114,7 +1114,7 @@ static bool AircraftController(Aircraft 
 
		if ((amd.flag & (AMED_LAND | AMED_BRAKE)) && st != nullptr) {
 
			assert(st->airport.HasHangar());
 
			TileIndex hangar_tile = st->airport.GetHangarTile(0);
 
			airport_z = TilePixelHeight(hangar_tile) + 1; // To avoid clashing with the shadow
 
			airport_z = GetTileMaxPixelZ(hangar_tile) + 1; // To avoid clashing with the shadow
 
		}
 

	
 
		if (amd.flag & AMED_LAND) {
0 comments (0 inline, 0 general)