adding variables to debug easier

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13269 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hilnius 2013-07-18 16:13:10 +00:00
parent 176c175206
commit 28241f66b2

View File

@ -99,7 +99,9 @@ void KartUpdateProtocol::update()
case 0: /* if we got the lock, unlock and return 1 (true) */
while (!m_next_positions.empty())
{
m_karts[m_karts_ids.back()]->setXYZ(m_next_positions.back());
uint32_t id = m_karts_ids.back();
Vec3 pos = m_next_positions.back();
m_karts[id]->setXYZ(pos);
m_next_positions.pop_back();
m_karts_ids.pop_back();
}