1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-07-03 06:24:32 +00:00

warning fixes, signed vs unsigned mismatch, cleanups, c++98 compat

many many more to do but it's a little step closer to get rid of warnings
This commit is contained in:
fgenesis 2024-04-16 00:12:56 +02:00
parent ebf49310b3
commit dd7ab0448f
45 changed files with 227 additions and 369 deletions

View file

@ -104,7 +104,7 @@ int ActionSet::_whichJoystickForName()
if(!joystickGUID.length() && !joystickName.length())
for(size_t i = 0; i < core->getNumJoysticks(); ++i)
if(Joystick *j = core->getJoystick(i))
return i;
return int(i);
return ACTIONSET_REASSIGN_JOYSTICK;
}