mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-24 00:03:11 +01:00
Remove redundant cast
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user