From 2a93d22183071978c126c34ef1b69af940b4992f Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Tue, 22 Mar 2011 19:28:47 +0000 Subject: [PATCH] - commented out unused class instance as it caused trouble --- source/glest_game/main/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/glest_game/main/main.cpp b/source/glest_game/main/main.cpp index 8cde61925..f43c82ed2 100644 --- a/source/glest_game/main/main.cpp +++ b/source/glest_game/main/main.cpp @@ -1822,7 +1822,7 @@ int glestMain(int argc, char** argv) { // Setup the file crc thread std::auto_ptr preCacheThread; - Game preCacheThreadGame; + //Game preCacheThreadGame; //float pingTime = Socket::getAveragePingMS("soft-haus.com"); //printf("Ping time = %f\n",pingTime); @@ -2085,7 +2085,7 @@ int glestMain(int argc, char** argv) { preCacheThread.reset(new FileCRCPreCacheThread()); preCacheThread->setUniqueID(__FILE__); preCacheThread->setTechDataPaths(techDataPaths); - preCacheThread->setFileCRCPreCacheThreadCallbackInterface(&preCacheThreadGame); + //preCacheThread->setFileCRCPreCacheThreadCallbackInterface(&preCacheThreadGame); preCacheThread->start(); }