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
This commit is contained in:
auria 2011-05-23 00:37:39 +00:00
parent 8788a07010
commit d1400c4c10

View File

@ -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);
}