Bugfix, forgot to change the type from float to int.
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user