mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-17 03:53:07 +01:00
Fix vehicles changing state on export/import
This commit is contained in:
@@ -84,6 +84,7 @@ Vehicle* cable_lift_segment_create(
|
||||
current->SetState(VEHICLE_STATUS_MOVING_TO_END_OF_STATION, 0);
|
||||
current->num_peeps = 0;
|
||||
current->next_free_seat = 0;
|
||||
current->BoatLocation.setNull();
|
||||
return current;
|
||||
}
|
||||
|
||||
|
||||
@@ -4495,6 +4495,7 @@ static Vehicle* vehicle_create_car(
|
||||
// loc_6DDD5E:
|
||||
vehicle->num_peeps = 0;
|
||||
vehicle->next_free_seat = 0;
|
||||
vehicle->BoatLocation.setNull();
|
||||
return vehicle;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user