mirror of
https://github.com/glest/glest-source.git
synced 2025-08-23 00:12:49 +02:00
- commented out unused class instance as it caused trouble
This commit is contained in:
@@ -1822,7 +1822,7 @@ int glestMain(int argc, char** argv) {
|
|||||||
|
|
||||||
// Setup the file crc thread
|
// Setup the file crc thread
|
||||||
std::auto_ptr<FileCRCPreCacheThread> preCacheThread;
|
std::auto_ptr<FileCRCPreCacheThread> preCacheThread;
|
||||||
Game preCacheThreadGame;
|
//Game preCacheThreadGame;
|
||||||
|
|
||||||
//float pingTime = Socket::getAveragePingMS("soft-haus.com");
|
//float pingTime = Socket::getAveragePingMS("soft-haus.com");
|
||||||
//printf("Ping time = %f\n",pingTime);
|
//printf("Ping time = %f\n",pingTime);
|
||||||
@@ -2085,7 +2085,7 @@ int glestMain(int argc, char** argv) {
|
|||||||
preCacheThread.reset(new FileCRCPreCacheThread());
|
preCacheThread.reset(new FileCRCPreCacheThread());
|
||||||
preCacheThread->setUniqueID(__FILE__);
|
preCacheThread->setUniqueID(__FILE__);
|
||||||
preCacheThread->setTechDataPaths(techDataPaths);
|
preCacheThread->setTechDataPaths(techDataPaths);
|
||||||
preCacheThread->setFileCRCPreCacheThreadCallbackInterface(&preCacheThreadGame);
|
//preCacheThread->setFileCRCPreCacheThreadCallbackInterface(&preCacheThreadGame);
|
||||||
preCacheThread->start();
|
preCacheThread->start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user