Don't switch camera to fall mode if flying

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7380 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria
2011-01-12 18:58:14 +00:00
parent 7a81498f19
commit fe9be88c1e

View File

@@ -1637,7 +1637,7 @@ void Kart::updateGraphics(const Vec3& offset_xyz,
{
const float hot = getHoT();
if (m->hasWaterSplash() && hot != Track::NOHIT)
if (m->hasWaterSplash() && hot != Track::NOHIT && !m_flying)
{
const float hat = getXYZ().getY() - hot;