Add any output from CheckCaches to desync log

This commit is contained in:
Jonathan G Rennison
2019-05-18 18:31:08 +01:00
parent 257591a32e
commit f37a93cecd
6 changed files with 56 additions and 34 deletions

View File

@@ -2235,8 +2235,8 @@ static void DoAcquireCompany(Company *c)
delete c;
extern void CheckCaches(bool force_check);
CheckCaches(true);
extern void CheckCaches(bool force_check, std::function<void(const char *)> log);
CheckCaches(true, nullptr);
}
extern int GetAmountOwnedBy(const Company *c, Owner owner);