Remove redundant cast

This commit is contained in:
ζeh Matt committed 2025-09-12 14:57:50 +03:00
1 parent 977ec4517f
commit ce3da4012e
1 file changed
+1 -1
+1 -1
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;