Skip to content

Commit

Permalink
Revert "Fix PoseDir not being converted correctly to DirType for use …
Browse files Browse the repository at this point in the history
…in landing dir checks"

This reverts commit 4506b0b.
  • Loading branch information
Starkku committed May 12, 2024
1 parent 8027c03 commit 7b244db
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 << 5);
auto const poseDir = static_cast<DirType>(RulesClass::Instance->PoseDir);

if (!pThis)
return poseDir;
Expand Down

0 comments on commit 7b244db

Please sign in to comment.