Fix tests

This commit is contained in:
Gymnasiast 2019-05-08 21:56:38 +02:00 committed by Ted John
parent 94caa46654
commit f0f09c7f6b
1 changed files with 6 additions and 0 deletions

View File

@ -435,3 +435,9 @@ StationObject* ride_get_station_object(const Ride* ride)
{
return nullptr;
}
bool rct_vehicle::IsGhost() const
{
auto r = get_ride(ride);
return r != nullptr && r->status == RIDE_STATUS_SIMULATING;
}