Remove old comment

This commit is contained in:
nixt
2014-07-20 18:29:59 +05:30
parent 97c628faca
commit 6e2d92ec20

View File

@@ -342,11 +342,7 @@ bool RubberBall::updateAndDelete(float dt)
bool close_to_ground = 2.0*m_previous_height < m_current_max_height;
float vertical_offset = close_to_ground ? 4.0f : 2.0f;
// Note that at this stage getHoT still reports the height at
// the previous location (since TerrainInfo wasn't updated). On
// the other hand, we can't update TerrainInfo without having
// at least a good estimation of the height.
// Update height of terrain (which isn't done as part of
// Flyable::update for rubber balls.
TerrainInfo::update(next_xyz + getNormal()*vertical_offset, -getNormal());