g++ didn't like InputDevice(d) for some reason. (I don't much like it myself. It looks too much like a function call or something.)

This commit is contained in:
Steve Checkoway
2003-07-15 00:40:18 +00:00
parent f09200a21d
commit 423f27eb02
+1 -1
View File
@@ -85,7 +85,7 @@ void InputFilter::Update(float fDeltaTime)
if( int(fOldHoldTime/fTimeBetweenRepeats) != int(fNewHoldTime/fTimeBetweenRepeats) )
{
RageTimer now;
DeviceInput di(InputDevice(d),b,now);
DeviceInput di(static_cast<InputDevice>(d),b,now);
queue.push_back( InputEvent(di,iet) );
}
}