From e8dca9f2201d3c0b237f2a067b0564a95be95e36 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Thu, 2 Feb 2023 18:48:46 +0000 Subject: [PATCH] Debug: Add time since load/unload to station debug info --- src/table/newgrf_debug_data.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/table/newgrf_debug_data.h b/src/table/newgrf_debug_data.h index 2df9bd6c4e..037a843270 100644 --- a/src/table/newgrf_debug_data.h +++ b/src/table/newgrf_debug_data.h @@ -1707,6 +1707,8 @@ class NIHStationStruct : public NIHelper { output.print(buffer); seprintf(buffer, lastof(buffer), " Docking tiles: %X, %u x %u", st->docking_station.tile, st->docking_station.w, st->docking_station.h); output.print(buffer); + seprintf(buffer, lastof(buffer), " Time since: load: %u, unload: %u", st->time_since_load, st->time_since_unload); + output.print(buffer); } const Waypoint *wp = Waypoint::GetIfValid(index); if (wp) {