fixed windows build

This commit is contained in:
Mark Vejvoda
2011-11-15 18:09:57 +00:00
parent b2adc16ca6
commit ccb86ef373
2 changed files with 2 additions and 2 deletions

View File

@@ -1178,7 +1178,7 @@ void ServerInterface::waitUntilReady(Checksum *checksum) {
uint64 waitLoopIterationCount = 0;
uint64 MAX_LOOP_COUNT_BEFORE_SLEEP = 100;
MAX_LOOP_COUNT_BEFORE_SLEEP = Config::getInstance().getInt("NetworkServerLoopGameLoadingCap",intToStr(MAX_LOOP_COUNT_BEFORE_SLEEP).c_str());
uint sleepMillis = Config::getInstance().getInt("NetworkServerLoopGameLoadingCapSleepMillis","1");
int sleepMillis = Config::getInstance().getInt("NetworkServerLoopGameLoadingCapSleepMillis","1");
while(exitServer == false && allReady == false && logger.getCancelLoading() == false) {
waitLoopIterationCount++;