Show depot reservation state in railtype debug window

This commit is contained in:
Jonathan G Rennison
2021-08-28 17:40:18 +01:00
parent bcffd6157a
commit bfef89344d

View File

@@ -923,6 +923,10 @@ class NIHRailType : public NIHelper {
}
}
}
if (IsTileType(index, MP_RAILWAY) && IsRailDepot(index)) {
seprintf(buffer, lastof(buffer), "Depot: reserved: %u", HasDepotReservation(index));
print(buffer);
}
}
};