Mouse detection was bassackwards. Thanks pjft!

This commit is contained in:
Scott Duensing 2020-10-17 18:47:02 -05:00
parent ea7d9d97cf
commit 8c0840af12

View file

@ -3885,7 +3885,7 @@ void singe(SDL_Window *window, SDL_Renderer *renderer, ConfigT *conf) {
_global.mouseCount = ManyMouse_Init();
//utilSay("***DEBUG*** Mouse Driver: %s", ManyMouse_DriverName());
//utilSay("***DEBUG*** Mice Found: %d", _global.mouseCount);
if ((_global.mouseCount < 1) || !_global.mouseEnabled) utilDie("No mice detected.");
if ((_global.mouseCount < 1) && _global.mouseEnabled) utilDie("No mice detected.");
if (_global.mouseCount > MAX_MICE) {
_global.mouseCount = MAX_MICE;
}