Enable vehicle variable 61 for ships

Bump multi_part_ships feature version, add to documentation
This commit is contained in:
Jonathan G Rennison
2023-06-26 00:18:11 +01:00
parent e94f9699de
commit 3b2e917ca4
3 changed files with 7 additions and 2 deletions

View File

@@ -772,7 +772,7 @@ static uint32 VehicleGetVariable(Vehicle *v, const VehicleScopeResolver *object,
}
case 0x61: // Get variable of n-th vehicle in chain [signed number relative to vehicle]
if (!v->IsGroundVehicle() || parameter == 0x61) {
if (!(v->IsGroundVehicle() || v->type == VEH_SHIP) || parameter == 0x61) {
/* Not available */
break;
}