adding info to debug easier

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13286 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hilnius 2013-07-19 15:18:08 +00:00
parent 2574c28c5c
commit 1940387f9a

View File

@ -125,9 +125,10 @@ void NetworkManager::sendPacketExcept(STKPeer* peer, const NetworkString& data,
{
for (unsigned int i = 0; i < m_peers.size(); i++)
{
if (!m_peers[i]->isSamePeer(peer))
STKPeer* p = m_peers[i];
if (!p->isSamePeer(peer))
{
m_peers[i]->sendPacket(data, reliable);
p->sendPacket(data, reliable);
}
}
}