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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user