Fixed incorrect axis (though it shouldn't matter, since the model is a

ball anyway).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6733 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2010-11-25 23:18:46 +00:00
parent 70b840bb6c
commit a123718680

View File

@ -30,7 +30,7 @@ float Bowling::m_st_force_to_target;
Bowling::Bowling(Kart *kart) : Flyable(kart, PowerupManager::POWERUP_BOWLING,
50.0f /* mass */)
{
float y_offset = 0.5f*kart->getKartLength() + m_extend.getY()/2.0f;
float y_offset = 0.5f*kart->getKartLength() + m_extend.getZ()*0.5f;
// if the kart is looking backwards, release from the back
if( kart->getControls().m_look_back )