From e712f307c3668674c26cade619c0b946ff78e49f Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Sun, 10 Nov 2013 19:49:02 +0000 Subject: [PATCH] attempt to see if removing this mutex is stable and improves performance --- source/glest_game/ai/path_finder.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/glest_game/ai/path_finder.h b/source/glest_game/ai/path_finder.h index 2da93776..f48f72de 100644 --- a/source/glest_game/ai/path_finder.h +++ b/source/glest_game/ai/path_finder.h @@ -91,7 +91,8 @@ public: Mutex *factionMutexPrecache; public: FactionState() : - factionMutexPrecache(new Mutex) { + //factionMutexPrecache(new Mutex) { + factionMutexPrecache(NULL) { openPosList.clear(); openNodesList.clear();