- commented out some debug output

This commit is contained in:
Mark Vejvoda
2011-05-18 23:12:49 +00:00
parent e28fe7c575
commit 5d6ac3aa1d

View File

@@ -772,14 +772,13 @@ void ServerInterface::checForLaggingClients(std::map<int,bool> &mapSlotSignalled
if(gameHasBeenInitiated == true && if(gameHasBeenInitiated == true &&
difftime(time(NULL),lastGlobalLagCheckTime) >= LAG_CHECK_GRACE_PERIOD) { difftime(time(NULL),lastGlobalLagCheckTime) >= LAG_CHECK_GRACE_PERIOD) {
printf("\n\n\n^^^^^^^^^^^^^^ PART A\n\n\n"); //printf("\n\n\n^^^^^^^^^^^^^^ PART A\n\n\n");
// New lag check // New lag check
std::pair<bool,bool> clientLagExceededOrWarned = std::make_pair(false,false); std::pair<bool,bool> clientLagExceededOrWarned = std::make_pair(false,false);
if( gameHasBeenInitiated == true && connectionSlot != NULL && if( gameHasBeenInitiated == true && connectionSlot != NULL &&
connectionSlot->isConnected() == true) { connectionSlot->isConnected() == true) {
//printf("\n\n\n^^^^^^^^^^^^^^ PART B\n\n\n");
printf("\n\n\n^^^^^^^^^^^^^^ PART B\n\n\n");
lastGlobalLagCheckTimeUpdate = true; lastGlobalLagCheckTimeUpdate = true;
clientLagExceededOrWarned = clientLagCheck(connectionSlot,slotsWarnedList[i]); clientLagExceededOrWarned = clientLagCheck(connectionSlot,slotsWarnedList[i]);