fixed warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3087 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
4b907c643a
commit
0c5aae7b1b
@ -202,7 +202,7 @@ void Camera::update (float dt)
|
||||
// Set the camera rotation
|
||||
// -----------------------
|
||||
float sign = reverse ? 1.0f : -1.0f;
|
||||
const int num_players = race_manager->getNumLocalPlayers();
|
||||
//const int num_players = race_manager->getNumLocalPlayers();
|
||||
float pitch;
|
||||
if(m_mode!=CM_CLOSEUP)
|
||||
pitch = race_manager->getNumLocalPlayers()>1 ? sign * DEGREE_TO_RAD(10.0f)
|
||||
|
Loading…
Reference in New Issue
Block a user