removed FIXME that wasn't relevant anymore
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2811 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
082cf368a0
commit
2c2f8d0ebc
@ -143,7 +143,7 @@ void Plunger::update(float dt)
|
||||
hat = std::max(std::min(hat, m_max_height) , m_min_height);
|
||||
float delta = m_average_height - hat;
|
||||
btVector3 v=getVelocity();
|
||||
v.setZ( m_st_force_updown[POWERUP_PLUNGER]*delta); // FIXME - don't hardcode, move to config file
|
||||
v.setZ( m_st_force_updown[POWERUP_PLUNGER]*delta);
|
||||
setVelocity(v);
|
||||
|
||||
} // update
|
||||
|
Loading…
Reference in New Issue
Block a user