mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-21 14:02:59 +01:00
Part of pathfinding rework
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
#include "localisation/Localisation.h"
|
||||
#include "management/NewsItem.h"
|
||||
#include "network/network.h"
|
||||
#include "./peep/GuestPathfinding.h"
|
||||
#include "platform/Platform.h"
|
||||
#include "profiling/Profiling.h"
|
||||
#include "ride/Vehicle.h"
|
||||
@@ -88,6 +89,9 @@ void GameState::InitAll(const TileCoordsXY& mapSize)
|
||||
CheatsReset();
|
||||
ClearRestrictedScenery();
|
||||
|
||||
// TODO: find a better place for this
|
||||
gGuestPathfinder = new OriginalPathfinding();
|
||||
|
||||
#ifdef ENABLE_SCRIPTING
|
||||
auto& scriptEngine = GetContext()->GetScriptEngine();
|
||||
scriptEngine.ClearParkStorage();
|
||||
|
||||
Reference in New Issue
Block a user