1
0
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:
duncanspumpkin
2020-04-06 20:58:10 +01:00
parent dd5ab2e01a
commit b857792f23
2 changed files with 2 additions and 0 deletions

View File

@@ -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;
}

View File

@@ -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;
}