Fix warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11063 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
e1b8b399df
commit
bb25e47fec
@ -166,7 +166,7 @@ bool Bowling::updateAndDelete(float dt)
|
||||
// the ball is too high, it is 'pushed down', which can reduce the
|
||||
// speed, which causes the speed to increase, which in turn causes
|
||||
// the ball to fly higher and higher.
|
||||
btTransform trans = getTrans();
|
||||
//btTransform trans = getTrans();
|
||||
float hat = getXYZ().getY()-getHoT();
|
||||
if(hat-0.5f*m_extend.getY()<0.01f)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user