Changeset - r27953:9091bca45487
[Not reviewed]
master
0 1 0
Joan Josep - 15 months ago 2023-09-20 18:22:37
juanjo.ng.83@gmail.com
Fix: Spelling of NIHAirport. (#11322)
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/table/newgrf_debug_data.h
Show inline comments
 
@@ -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(),
 
};
 

	
 

	
0 comments (0 inline, 0 general)