From d1400c4c10131b3c6f6e0502264e9fae042c5d1e Mon Sep 17 00:00:00 2001 From: auria Date: Mon, 23 May 2011 00:37:39 +0000 Subject: [PATCH] Fixed looking back not working when wheels are not on ground git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8675 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/karts/kart.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/karts/kart.cpp b/src/karts/kart.cpp index 58f1cfab3..dc08ad9a7 100644 --- a/src/karts/kart.cpp +++ b/src/karts/kart.cpp @@ -1079,7 +1079,7 @@ void Kart::handleMaterialGFX() { m_camera->setMode(Camera::CM_FALLING); } - else + else if (m_camera->getMode() != Camera::CM_NORMAL && m_camera->getMode() != Camera::CM_REVERSE) { m_camera->setMode(Camera::CM_NORMAL); }