Removed compiler warning.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5013 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2010-03-17 04:11:32 +00:00
parent 124e719d11
commit 2a33313d24

View File

@ -142,7 +142,6 @@ void Camera::setupCamera()
*/ */
void Camera::setMode(Mode mode) void Camera::setMode(Mode mode)
{ {
World *world = World::getWorld();
// If we switch from reverse view, move the camera immediately to the // If we switch from reverse view, move the camera immediately to the
// correct position. // correct position.
if(m_mode==CM_REVERSE && mode==CM_NORMAL) if(m_mode==CM_REVERSE && mode==CM_NORMAL)