From 3284bd68e379e3659f7375ab54f8d73e3d13cf31 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Sat, 16 Mar 2024 16:53:17 +0000 Subject: [PATCH] Debug: Show engine company and climate availability in debug info --- src/table/newgrf_debug_data.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/table/newgrf_debug_data.h b/src/table/newgrf_debug_data.h index 8c6053fb1c..8ba33d4c7c 100644 --- a/src/table/newgrf_debug_data.h +++ b/src/table/newgrf_debug_data.h @@ -636,6 +636,9 @@ class NIHVehicle : public NIHelper { seprintf(buffer, lastof(buffer), " Cargo ageing: %u, cargo load speed: %u", e->info.decay_speed, e->info.load_amount); output.print(buffer); + seprintf(buffer, lastof(buffer), " Company availability: %X, climates: %X", + e->company_avail, e->info.climates); + output.print(buffer); output.register_next_line_click_flag_toggle(2 << flag_shift); if (output.flags & (2 << flag_shift)) {