Loading

Revision differences

Old revision #p6nxtyus2New revision #pycvqzxce
9switch (FEAT_TRAINS, SELF, unicorn_resting_cost, [  9switch (FEAT_TRAINS, SELF, unicorn_resting_cost, [  
10  var[0x8A, 0, 0x0F] | (var[0xB2, 1, 0x01] << 4)  10  var[0x8A, 0, 0x0F] | (var[0xB2, 1, 0x01] << 4)  
11]) {  11]) {  
12  0x02:       return 10;  // cost when vehicle is loading/unloading  12  0x03:       return 10;  // cost when vehicle is loading/unloading
13  0x10..0x1F: return 10;  // cost when vehicle is stopped  13  0x10..0x1F: return 10;  // cost when vehicle is stopped  
14  default: unicorn_resting_cost2;  14  default: unicorn_resting_cost2;  
15}  15}