1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 14:54:30 +01:00

Part of #9473: Create Vehicle::GetRide (#12002)

* Part of #9473: Create Vehicle::GetRide

* Redefine Vehicle::GetRide in Compat.cpp
This commit is contained in:
Hudson Oliveira
2020-06-21 04:38:53 -03:00
committed by GitHub
parent d82789733e
commit ef5f117373
10 changed files with 126 additions and 119 deletions

View File

@@ -637,7 +637,7 @@ static void window_title_command_editor_tool_down(
auto vehicle = GET_VEHICLE(spriteIndex);
if (vehicle != nullptr)
{
auto ride = get_ride(vehicle->ride);
auto ride = vehicle->GetRide();
if (ride != nullptr)
{
uint8_t formatArgs[32]{};