Make array of cargo holders dynamic (#5274)

This commit is contained in:
PabstMirror
2017-06-14 08:36:23 -05:00
committed by jonpas
parent 183eaaecdc
commit feee7f5e1e
6 changed files with 14 additions and 5 deletions

View File

@ -18,8 +18,6 @@
#define MAX_LOAD_DISTANCE 10
#define CARGO_VEHICLE_CLASSES ["Car", "Air", "Tank", "Ship", "Cargo_base_F", "Land_PaperBox_closed_F"]
#define GET_NUMBER(config,default) (if (isNumber (config)) then {getNumber (config)} else {default})
// Default cargo size is -1 as 0 is a valid size