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:
parent
099cbce6ce
commit
13782a890e
@ -370,10 +370,6 @@ bool Flyable::updateAndDelete(float dt)
|
|||||||
if(m_do_terrain_info)
|
if(m_do_terrain_info)
|
||||||
TerrainInfo::update(xyz+m_position_offset);
|
TerrainInfo::update(xyz+m_position_offset);
|
||||||
|
|
||||||
// Remove flyable if its
|
|
||||||
if(TerrainInfo::getMaterial()==NULL)
|
|
||||||
return true;
|
|
||||||
|
|
||||||
if(m_adjust_up_velocity)
|
if(m_adjust_up_velocity)
|
||||||
{
|
{
|
||||||
float hat = xyz.getY()-getHoT();
|
float hat = xyz.getY()-getHoT();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user