Dump infrastructure totals when mismatch detected in CheckCaches.

This commit is contained in:
Jonathan G Rennison
2017-02-22 02:47:53 +00:00
parent e11f295b29
commit 3813b3ca09
3 changed files with 22 additions and 0 deletions

View File

@@ -43,6 +43,8 @@ struct CompanyInfrastructure {
for (RailType rt = RAILTYPE_BEGIN; rt < RAILTYPE_END; rt++) total += this->rail[rt];
return total;
}
char *Dump(char *buffer, const char *last) const;
};
typedef Pool<Company, CompanyID, 1, MAX_COMPANIES> CompanyPool;