equal
deleted
inserted
replaced
580 while (u->next != NULL && (variable == 0x40 || u->next->engine_type == v->engine_type)) { |
580 while (u->next != NULL && (variable == 0x40 || u->next->engine_type == v->engine_type)) { |
581 chain_after++; |
581 chain_after++; |
582 u = u->next; |
582 u = u->next; |
583 } |
583 } |
584 |
584 |
585 return chain_before | chain_after << 8 | (chain_before + chain_after) << 16; |
585 return chain_before | chain_after << 8 | (chain_before + chain_after + (variable == 0x41)) << 16; |
586 } |
586 } |
587 |
587 |
588 case 0x42: { /* Consist cargo information */ |
588 case 0x42: { /* Consist cargo information */ |
589 /* XXX Missing support for common refit cycle and property 25 */ |
589 /* XXX Missing support for common refit cycle and property 25 */ |
590 const Vehicle *u; |
590 const Vehicle *u; |