From ed9410aba9afe84ee9be5956c30a5ae7b26af8b4 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Tue, 16 Feb 2021 21:35:17 +0000 Subject: [PATCH] Debug: Add house population and mail generation to debug window --- 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 65020a8138..9d6d8fc662 100644 --- a/src/table/newgrf_debug_data.h +++ b/src/table/newgrf_debug_data.h @@ -427,6 +427,8 @@ class NIHHouse : public NIHelper { print(buffer); seprintf(buffer, lastof(buffer), " remove_rating_decrease: %u", hs->remove_rating_decrease); print(buffer); + seprintf(buffer, lastof(buffer), " population: %u, mail_generation: %u", hs->population, hs->mail_generation); + print(buffer); seprintf(buffer, lastof(buffer), " animation: frames: %u, status: %u, speed: %u, triggers: 0x%X", hs->animation.frames, hs->animation.status, hs->animation.speed, hs->animation.triggers); print(buffer); }