Add flags field to CheckCaches for which checks to run

Add header file for CheckCaches
This commit is contained in:
Jonathan G Rennison
2021-10-03 23:03:26 +01:00
parent c408007575
commit 5ed7aee8d3
7 changed files with 379 additions and 346 deletions

View File

@@ -54,6 +54,7 @@
#include "tbtr_template_vehicle_func.h"
#include "scope_info.h"
#include "pathfinder/yapf/yapf_cache.h"
#include "debug_desync.h"
#include "table/strings.h"
#include "table/pricebase.h"
@@ -2287,7 +2288,6 @@ static void DoAcquireCompany(Company *c)
delete c;
extern void CheckCaches(bool force_check, std::function<void(const char *)> log);
CheckCaches(true, nullptr);
}