Skip to content

Commit

Permalink
Fix PoseDir not being converted correctly to DirType for use in landi…
Browse files Browse the repository at this point in the history
…ng dir checks
  • Loading branch information
Starkku committed May 6, 2024
1 parent f2af412 commit 4506b0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ext/Aircraft/Body.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ bool AircraftExt::PlaceReinforcementAircraft(AircraftClass* pThis, CellStruct ed

DirType AircraftExt::GetLandingDir(AircraftClass* pThis, BuildingClass* pDock)
{
auto const poseDir = static_cast<DirType>(RulesClass::Instance->PoseDir);
auto const poseDir = static_cast<DirType>(RulesClass::Instance->PoseDir << 5);

if (!pThis)
return poseDir;
Expand Down

0 comments on commit 4506b0b

Please sign in to comment.