Karts that have finished the race will now still give slipstream advantage.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6111 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -919,8 +919,7 @@ float Kart::handleSlipstream(float dt)
|
||||
target_kart = world->getKart(i);
|
||||
// Don't test for slipstream with itself.
|
||||
if(target_kart==this ||
|
||||
target_kart->isEliminated() ||
|
||||
target_kart->hasFinishedRace()) continue;
|
||||
target_kart->isEliminated() ) continue;
|
||||
|
||||
// If the kart we are testing against is too slow, no need to test
|
||||
// slipstreaming. Note: We compare the speed of the other kart
|
||||
|
||||
Reference in New Issue
Block a user