- explicitly clear the cache.

This commit is contained in:
Mark Vejvoda 2010-08-25 16:01:24 +00:00
parent 49978632c4
commit 014165de69
1 changed files with 2 additions and 0 deletions

View File

@ -83,6 +83,8 @@ void UnitUpdater::init(Game *game){
}
UnitUpdater::~UnitUpdater() {
UnitRangeCellsLookupItemCache.clear();
delete pathFinder;
pathFinder = NULL;
}