Removed debug prints.
This commit is contained in:
@@ -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
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user