From 85f2b0b21d432868e64982cda0be22f5ab63966c Mon Sep 17 00:00:00 2001 From: duncanspumpkin Date: Sun, 19 Jan 2020 17:37:24 +0000 Subject: [PATCH] Fix testpaint --- test/testpaint/Compat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testpaint/Compat.cpp b/test/testpaint/Compat.cpp index addbfa9368..93c8991bc1 100644 --- a/test/testpaint/Compat.cpp +++ b/test/testpaint/Compat.cpp @@ -447,7 +447,7 @@ StationObject* ride_get_station_object(const Ride* ride) return nullptr; } -bool rct_vehicle::IsGhost() const +bool Vehicle::IsGhost() const { auto r = get_ride(ride); return r != nullptr && r->status == RIDE_STATUS_SIMULATING;