mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix tests
This commit is contained in:
parent
94caa46654
commit
f0f09c7f6b
|
@ -435,3 +435,9 @@ StationObject* ride_get_station_object(const Ride* ride)
|
||||||
{
|
{
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool rct_vehicle::IsGhost() const
|
||||||
|
{
|
||||||
|
auto r = get_ride(ride);
|
||||||
|
return r != nullptr && r->status == RIDE_STATUS_SIMULATING;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue