mirror of
https://github.com/glest/glest-source.git
synced 2025-08-17 21:51:17 +02:00
One final bugfix for 3.3.4.2 release, click mouse buttons > 2 on some mice would cause a crash
This commit is contained in:
@@ -407,6 +407,7 @@ MouseButton Window::getMouseButton(int sdlButton) {
|
|||||||
default:
|
default:
|
||||||
//throw std::runtime_error("Mouse Button > 3 not handled.");
|
//throw std::runtime_error("Mouse Button > 3 not handled.");
|
||||||
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d] Mouse Button [%d] not handled.\n",__FILE__,__FUNCTION__,__LINE__,sdlButton);
|
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d] Mouse Button [%d] not handled.\n",__FILE__,__FUNCTION__,__LINE__,sdlButton);
|
||||||
|
return mbUnknown;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user