forgot something

This commit is contained in:
zerofrog
2007-12-12 17:19:07 +00:00
parent a90e9ae47c
commit f020171ccd

View File

@@ -730,7 +730,7 @@ bool JoystickInfo::Init(const char* pdevid, int id, bool bStartThread)
void JoystickInfo::ProcessData()
{
if( pad < 0 )
if( pad < 0 || js_fd < 0 )
return;
for (int i=0; i<PADKEYS; i++) {