Remove useless check

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11141 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2012-04-23 00:59:48 +00:00
parent 099cbce6ce
commit 13782a890e

View File

@ -370,10 +370,6 @@ bool Flyable::updateAndDelete(float dt)
if(m_do_terrain_info)
TerrainInfo::update(xyz+m_position_offset);
// Remove flyable if its
if(TerrainInfo::getMaterial()==NULL)
return true;
if(m_adjust_up_velocity)
{
float hat = xyz.getY()-getHoT();