Debug: Add stadium and church count to town debug window
This commit is contained in:
@@ -710,6 +710,8 @@ class NIHTown : public NIHelper {
|
|||||||
print("Debug Info:");
|
print("Debug Info:");
|
||||||
seprintf(buffer, lastof(buffer), " Index: %u", index);
|
seprintf(buffer, lastof(buffer), " Index: %u", index);
|
||||||
print(buffer);
|
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());
|
seprintf(buffer, lastof(buffer), " Nearby stations: %u", (uint) t->stations_near.size());
|
||||||
print(buffer);
|
print(buffer);
|
||||||
|
Reference in New Issue
Block a user