diff --git a/stepmania/src/RageInputDevice.h b/stepmania/src/RageInputDevice.h index 525e3cee33..5386dd46ef 100644 --- a/stepmania/src/RageInputDevice.h +++ b/stepmania/src/RageInputDevice.h @@ -312,9 +312,9 @@ public: RageTimer ts; DeviceInput(): device(InputDevice_Invalid), button(DeviceButton_Invalid), level(0), bDown(false), ts(RageZeroTimer) { } - DeviceInput( InputDevice d, DeviceButton b, float l=0 ): device(d), button(b), level(l), bDown(l > 0.5), ts(RageZeroTimer) { } + DeviceInput( InputDevice d, DeviceButton b, float l=0 ): device(d), button(b), level(l), bDown(l > 0.5f), ts(RageZeroTimer) { } DeviceInput( InputDevice d, DeviceButton b, float l, const RageTimer &t ): - device(d), button(b), level(l), bDown(level > 0.5), ts(t) { } + device(d), button(b), level(l), bDown(level > 0.5f), ts(t) { } bool operator==( const DeviceInput &other ) const {