1
0
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:
ζeh Matt
2025-03-20 18:48:26 +02:00
parent bd4db4a91b
commit cac21504cd
5 changed files with 46 additions and 62 deletions

View File

@@ -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());