Add signal style flag to limit lookahead extra aspect
This commit is contained in:
@@ -276,7 +276,7 @@ class NIHVehicle : public NIHelper {
|
||||
if (item.data_id > 0) print_braking_speed(item.start, item.data_id, item.z_pos);
|
||||
break;
|
||||
case TRLIT_SIGNAL:
|
||||
b += seprintf(b, lastof(buffer), "signal: target speed: %u, flags:", item.data_id);
|
||||
b += seprintf(b, lastof(buffer), "signal: target speed: %u, style: %u, flags:", item.data_id, item.data_aux >> 8);
|
||||
if (HasBit(item.data_aux, TRSLAI_NO_ASPECT_INC)) b += seprintf(b, lastof(buffer), "n");
|
||||
if (_settings_game.vehicle.realistic_braking_aspect_limited == TRBALM_ON && l.lookahead_end_position == item.start) {
|
||||
b += seprintf(b, lastof(buffer), ", lookahead end");
|
||||
|
Reference in New Issue
Block a user