From dde603030c936cb50dcc2ef38f14a5677033cd5c Mon Sep 17 00:00:00 2001 From: hikerstk Date: Mon, 12 Dec 2011 05:43:57 +0000 Subject: [PATCH] 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 --- src/network/race_state.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/network/race_state.cpp b/src/network/race_state.cpp index eefdd71c5..75bc2a774 100644 --- a/src/network/race_state.cpp +++ b/src/network/race_state.cpp @@ -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