Disable falling mode when not falling (anymore) - allows jump
across water (ticket 108). git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7954 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
e6aa7b0cf9
commit
f12af6ea2d
@ -1038,6 +1038,8 @@ void Kart::handleMaterialGFX()
|
|||||||
{
|
{
|
||||||
m_camera->setMode(Camera::CM_FALLING);
|
m_camera->setMode(Camera::CM_FALLING);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
m_camera->setMode(Camera::CM_NORMAL);
|
||||||
|
|
||||||
// Use the middle of the contact points of the two rear wheels
|
// Use the middle of the contact points of the two rear wheels
|
||||||
// as the point from which to cast the ray upwards
|
// as the point from which to cast the ray upwards
|
||||||
|
Loading…
x
Reference in New Issue
Block a user