Removed compiler warnings.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4776 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2010-02-20 02:43:57 +00:00
parent 9a767dcdbe
commit 078a56b5b5
2 changed files with 2 additions and 2 deletions

View File

@ -194,7 +194,6 @@ void EndController::handleBraking()
return;
}
const float MIN_SPEED = 5.0f;
//We may brake if we are about to get out of the road, but only if the
//kart is on top of the road, and if we won't slow down below a certain
//limit.

View File

@ -177,7 +177,8 @@ Kart *World::createKart(const std::string &kart_ident, int index,
local_player_id);
m_num_players ++;
break;
//case RaceManager::KT_NETWORK_PLAYER:
case RaceManager::KT_NETWORK_PLAYER:
break; // Avoid compiler warning about enum not handled.
//controller = new NetworkController(kart_ident, position, init_pos,
// global_player_id);
//m_num_players++;