Rename close window functions to match upstream
This commit is contained in:
@@ -1170,7 +1170,7 @@ void DeleteNewGRFInspectWindow(GrfSpecFeature feature, uint index)
|
||||
if (index >= (1 << 27)) return;
|
||||
|
||||
WindowNumber wno = GetInspectWindowNumber(feature, index);
|
||||
DeleteAllWindowsById(WC_NEWGRF_INSPECT, wno);
|
||||
CloseAllWindowsById(WC_NEWGRF_INSPECT, wno);
|
||||
|
||||
/* Reinitialise the land information window to remove the "debug" sprite if needed.
|
||||
* Note: Since we might be called from a command here, it is important to not execute
|
||||
|
Reference in New Issue
Block a user