mirror of
https://github.com/glest/glest-source.git
synced 2025-09-01 04:01:47 +02:00
- commented out some debug output
This commit is contained in:
@@ -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]);
|
||||||
|
Reference in New Issue
Block a user