From 4506b0bec8968be79f299af1292466beb5e75342 Mon Sep 17 00:00:00 2001 From: Starkku Date: Mon, 6 May 2024 13:43:56 +0300 Subject: [PATCH] Fix PoseDir not being converted correctly to DirType for use in landing dir checks --- src/Ext/Aircraft/Body.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ext/Aircraft/Body.cpp b/src/Ext/Aircraft/Body.cpp index f1672abc78..24cac81729 100644 --- a/src/Ext/Aircraft/Body.cpp +++ b/src/Ext/Aircraft/Body.cpp @@ -57,7 +57,7 @@ bool AircraftExt::PlaceReinforcementAircraft(AircraftClass* pThis, CellStruct ed DirType AircraftExt::GetLandingDir(AircraftClass* pThis, BuildingClass* pDock) { - auto const poseDir = static_cast(RulesClass::Instance->PoseDir); + auto const poseDir = static_cast(RulesClass::Instance->PoseDir << 5); if (!pThis) return poseDir;