Bugfix, forgot to change the type from float to int.

This commit is contained in:
hiker
2018-02-22 09:23:45 +11:00
parent 1c3da88e77
commit 797e35c674
2 changed files with 2 additions and 2 deletions

View File

@@ -47,7 +47,7 @@ float RubberBall::m_st_max_height_difference;
float RubberBall::m_st_fast_ping_distance;
float RubberBall::m_st_early_target_factor;
int RubberBall::m_next_id = 0;
float RubberBall::m_ticks_between_balls;
int RubberBall::m_ticks_between_balls;
// Debug only, so that we can get a feel on how well balls are aiming etc.

View File

@@ -84,7 +84,7 @@ private:
/** Timer before another rubber ball can be picked up. This is to ensure
* that there are not too many rubber balls on the track in races with many
* karts. */
static float m_ticks_between_balls;
static int m_ticks_between_balls;
/** This factor is used to influence how much the rubber ball should aim
* at its target early. It used the 'distance to center of track' of its