Missing file in previous commit (unused network code, but

it wouldn't compile without this).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10408 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2011-12-12 05:43:57 +00:00
parent 8ab469d4d8
commit dde603030c

View File

@ -172,8 +172,13 @@ void RaceState::receive(ENetPacket *pkt)
}
else
{
// FIXME: KartKartCollision now takes information about the
// collision point. This either needs to be added as the third
// parameter, or perhaps the outcome of the collision (the
// impulse) could be added.
world->getPhysics()->KartKartCollision(world->getKart(kart_id1),
world->getKart(kart_id2));
world->getKart(kart_id2),
btVector3(0,0,0));
}
} // for(i=0; i<num_collisions; i+=2)
clear(); // free message buffer