This commit is contained in:
Glenn Maynard
2007-01-15 03:05:16 +00:00
parent b5d4997c9f
commit 4dbbfa4feb
+2 -2
View File
@@ -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
{