1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 08:14:38 +01:00

Part of pathfinding rework

This commit is contained in:
LordOfLunacy
2022-05-13 19:18:46 -04:00
parent 07520ce0ba
commit 45013a90cc
7 changed files with 59 additions and 26 deletions

View File

@@ -81,6 +81,7 @@ static void* _crowdSoundChannel = nullptr;
static void peep_128_tick_update(Peep* peep, int32_t index);
static void peep_release_balloon(Guest* peep, int16_t spawn_height);
static PeepActionSpriteType PeepSpecialSpriteToSpriteTypeMap[] = {
PeepActionSpriteType::None,
PeepActionSpriteType::HoldMat,
@@ -2357,7 +2358,7 @@ void Peep::PerformNextAction(uint8_t& pathing_result, TileElement*& tile_result)
if (guest != nullptr)
{
result = guest_path_finding(guest);
result = gGuestPathfinder->guest_path_finding(guest);
}
else
{