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:
Mark Vejvoda 2010-04-23 04:24:20 +00:00
parent ae2af01c2e
commit 2e702d8dd8
1 changed files with 1 additions and 0 deletions

View File

@ -407,6 +407,7 @@ MouseButton Window::getMouseButton(int sdlButton) {
default:
//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);
return mbUnknown;
}
}