From b9a1cb5d7c43b49679e4b39c2dbf4e94dd57c476 Mon Sep 17 00:00:00 2001 From: Joan Josep Date: Wed, 20 Sep 2023 20:22:37 +0200 Subject: [PATCH] Fix: Spelling of NIHAirport. (#11322) --- src/table/newgrf_debug_data.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/table/newgrf_debug_data.h b/src/table/newgrf_debug_data.h index 2c92db398c..eaa24a2347 100644 --- a/src/table/newgrf_debug_data.h +++ b/src/table/newgrf_debug_data.h @@ -533,7 +533,7 @@ static const NIVariable _niv_airports[] = { NIV_END() }; -class NIHAiport : public NIHelper { +class NIHAirport : public NIHelper { bool IsInspectable(uint index) const override { return AirportSpec::Get(Station::Get(index)->airport.type)->grf_prop.grffile != nullptr; } uint GetParent(uint index) const override { return GetInspectWindowNumber(GSF_FAKE_TOWNS, Station::Get(index)->town->index); } const void *GetInstance(uint index)const override { return Station::Get(index); } @@ -562,7 +562,7 @@ static const NIFeature _nif_airport = { nullptr, nullptr, _niv_airports, - new NIHAiport(), + new NIHAirport(), };