mirror of
https://github.com/glest/glest-source.git
synced 2025-08-27 17:59:48 +02:00
- explicitly clear the cache.
This commit is contained in:
@@ -83,6 +83,8 @@ void UnitUpdater::init(Game *game){
|
|||||||
}
|
}
|
||||||
|
|
||||||
UnitUpdater::~UnitUpdater() {
|
UnitUpdater::~UnitUpdater() {
|
||||||
|
UnitRangeCellsLookupItemCache.clear();
|
||||||
|
|
||||||
delete pathFinder;
|
delete pathFinder;
|
||||||
pathFinder = NULL;
|
pathFinder = NULL;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user