Removed debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1327 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
eaac399a09
commit
7e68fd5ddf
@ -42,7 +42,6 @@ void Explosion::init(sgCoord* coord)
|
|||||||
setTransform(coord);
|
setTransform(coord);
|
||||||
m_step = -1;
|
m_step = -1;
|
||||||
scene->add(this);
|
scene->add(this);
|
||||||
printf("explosion\n");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
@ -191,15 +191,12 @@ void Flyable::update (float dt)
|
|||||||
btTransform trans=getBody()->getWorldTransform();
|
btTransform trans=getBody()->getWorldTransform();
|
||||||
m_current_HAT = world->getHAT(trans.getOrigin());
|
m_current_HAT = world->getHAT(trans.getOrigin());
|
||||||
m_HAT_counter = 0;
|
m_HAT_counter = 0;
|
||||||
printf("pos: %f %f %f height %f min %f max %f\n",
|
|
||||||
trans.getOrigin().getX(),trans.getOrigin().getY(),trans.getOrigin().getZ(),
|
|
||||||
m_current_HAT, m_min_height, m_max_height);
|
|
||||||
if(m_current_HAT!=Physics::NOHIT)
|
if(m_current_HAT!=Physics::NOHIT)
|
||||||
{
|
{
|
||||||
if(m_current_HAT<m_min_height)
|
if(m_current_HAT<m_min_height)
|
||||||
{printf("up \n");too_low(dt);}
|
too_low(dt);
|
||||||
else if(m_current_HAT>m_max_height)
|
else if(m_current_HAT>m_max_height)
|
||||||
{printf("down \n");too_high(dt);}
|
too_high(dt);
|
||||||
else
|
else
|
||||||
right_height(dt);
|
right_height(dt);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user