mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-19 21:13:05 +01:00
Implement requested changes
- Change the GuestPathfinder object to a smart pointer - Improved function signatures - Added javadoc comments to the abstract base class - Converted pointers to references in pathfinding function calls
This commit is contained in:
@@ -89,9 +89,6 @@ 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