Removed debug prints.

This commit is contained in:
hiker
2018-05-08 18:41:37 +10:00
parent eb647124e8
commit 356680b182
3 changed files with 0 additions and 9 deletions

View File

@@ -306,9 +306,6 @@ void GameProtocol::handleState(Event *event)
// The memory for bns will be handled in the RewindInfoState object
RewindManager::get()->addNetworkState(bns, ticks);
Log::info("GameProtocol", "Received at %d state from %d",
World::getWorld()->getTimeTicks(), ticks);
} // handleState
// ----------------------------------------------------------------------------

View File

@@ -255,10 +255,6 @@ void RewindQueue::mergeNetworkData(int world_ticks, bool *needs_rewind,
insertRewindInfo(*i);
Log::info("Rewind", "Inserting %s from time %d",
(*i)->isEvent() ? "event" : "state",
(*i)->getTicks() );
// Check if a rewind is necessary, i.e. a message is received in the
// past of client (server never rewinds).
if (NetworkConfig::get()->isClient() && (*i)->getTicks() < world_ticks)

View File

@@ -88,8 +88,6 @@ void STKPeer::sendPacket(NetworkString *data, bool reliable)
a != m_peer_address)
return;
data->setToken(m_client_server_token);
Log::verbose("STKPeer", "sending packet of size %d to %s at %f",
data->size(), a.toString().c_str(),StkTime::getRealTime());
ENetPacket* packet = enet_packet_create(data->getData(),
data->getTotalSize(),