Debug: Add stadium and church count to town debug window

This commit is contained in:
Jonathan G Rennison
2020-08-03 20:26:53 +01:00
parent ce6cdc551f
commit 4a21fafd5c

View File

@@ -710,6 +710,8 @@ class NIHTown : public NIHelper {
print("Debug Info:");
seprintf(buffer, lastof(buffer), " Index: %u", index);
print(buffer);
seprintf(buffer, lastof(buffer), " Churches: %u, Stadiums: %u", t->church_count, t->stadium_count);
print(buffer);
seprintf(buffer, lastof(buffer), " Nearby stations: %u", (uint) t->stations_near.size());
print(buffer);