Cargo - Fix can't load Slingload_01_Base_F (#8437)

* fix can't load Slingload_01_Base_F

20ft containers (`Land_Cargo20_military_green_F`) can be loaded but all children from `Slingload_01_Base_F` which share the same real size of a 20ft container can't be loaded (ex: `B_Slingload_01_Ammo_F`)

* add a comment next to the changed line 

add a comment next to the changed line indicating why it has to be like that (the point of this PR) for future source reference
This commit is contained in:
Vdauphin 2021-09-25 17:55:47 +02:00 committed by GitHub
parent d5328781db
commit e31d931078
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -356,8 +356,8 @@ class CfgVehicles {
//Huron 20ft containers
class Slingload_01_Base_F: Slingload_base_F {
GVAR(canLoad) = 0;
GVAR(size) = -1;
GVAR(canLoad) = 1;
GVAR(size) = 50; // Use same size value from 20ft containers for consistancy
};
class B_Slingload_01_Cargo_F: Slingload_01_Base_F { // Huron Cargo
GVAR(space) = 20;