mirror of https://github.com/OpenRCT2/OpenRCT2.git
Do not clear construction / peeps when querying ride entrance / exit
This commit is contained in:
parent
d1f48fab53
commit
1dd696d453
|
@ -89,9 +89,6 @@ public:
|
||||||
return MakeResult(GA_ERROR::DISALLOWED, errorTitle, STR_NOT_ALLOWED_TO_MODIFY_STATION);
|
return MakeResult(GA_ERROR::DISALLOWED, errorTitle, STR_NOT_ALLOWED_TO_MODIFY_STATION);
|
||||||
}
|
}
|
||||||
|
|
||||||
ride_clear_for_construction(ride);
|
|
||||||
ride_remove_peeps(ride);
|
|
||||||
|
|
||||||
const auto location = _isExit ? ride_get_exit_location(ride, _stationNum)
|
const auto location = _isExit ? ride_get_exit_location(ride, _stationNum)
|
||||||
: ride_get_entrance_location(ride, _stationNum);
|
: ride_get_entrance_location(ride, _stationNum);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue