mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-10-19 21:09:29 +00:00
Fix some things/typos that were overlooked
This commit is contained in:
parent
812dc7dd7f
commit
7b702673fe
6 changed files with 27 additions and 40 deletions
|
@ -3059,9 +3059,9 @@ void Core::clearActionButtons()
|
|||
actionStatus.clear();
|
||||
}
|
||||
|
||||
Joystick *Core::getJoystickForSourceID(unsigned sourceID)
|
||||
Joystick *Core::getJoystickForSourceID(int sourceID)
|
||||
{
|
||||
if(sourceID < (unsigned)actionStatus.size())
|
||||
return getJoystick(actionStatus[sourceID]->getJoystickID());
|
||||
if(unsigned(sourceID+1) < (unsigned)actionStatus.size())
|
||||
return getJoystick(actionStatus[sourceID+1]->getJoystickID());
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue