1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 00:03:11 +01:00

Remove redundant cast

This commit is contained in:
ζeh Matt
2025-09-12 14:57:50 +03:00
parent 977ec4517f
commit ce3da4012e

View File

@@ -183,7 +183,7 @@ namespace OpenRCT2::GameActions
}
// Staff uses this
newPeep->As<Staff>()->SetHireDate(GetDate().GetMonthsElapsed());
newPeep->SetHireDate(GetDate().GetMonthsElapsed());
newPeep->PathfindGoal.x = 0xFF;
newPeep->PathfindGoal.y = 0xFF;
newPeep->PathfindGoal.z = 0xFF;