mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-20 14:23:08 +01:00
Refactor PerformNextAction, we don't need a wrapper
This commit is contained in:
@@ -108,8 +108,7 @@ protected:
|
||||
int step = 0;
|
||||
while (!(*pos == goal) && step < expectedSteps)
|
||||
{
|
||||
uint8_t pathingResult = 0;
|
||||
peep->PerformNextAction(pathingResult);
|
||||
peep->PerformNextAction();
|
||||
++step;
|
||||
|
||||
*pos = TileCoordsXYZ(peep->GetLocation());
|
||||
|
||||
Reference in New Issue
Block a user