mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-06 06:32:56 +01:00
* Fix #11963 - Refactor Peep::OutsideOfPark Changed the definition of Peep::OutsideOfPark from uint8_t to bool and refactored all its occurences in code accordingly. * Fix #11963 - Refactor Peep::OutsideOfPark One forgotten instance of Peep::OutsideOfPark occurrence * Fix #11963 - Refactor Peep::OutsideOfPark Fix code according to a review suggestion.
This commit is contained in:
@@ -72,7 +72,7 @@ protected:
|
||||
|
||||
// Peeps that are outside of the park use specialized pathfinding which we don't want to
|
||||
// use here
|
||||
peep->OutsideOfPark = 0;
|
||||
peep->OutsideOfPark = false;
|
||||
|
||||
// An earlier iteration of this code just gave peeps a target position to walk to, but it turns out
|
||||
// that with no actual ride to head towards, when a peep reaches a junction they use the 'aimless'
|
||||
|
||||
Reference in New Issue
Block a user