mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-27 07:51:36 +00:00
K_MenuButtonPressed, K_MenuButtonHeld: Return *actual* booleans, not numerical flag values
This commit is contained in:
parent
986ec8025d
commit
aa4c3ab4a2
1 changed files with 2 additions and 2 deletions
|
|
@ -807,12 +807,12 @@ boolean M_MenuButtonPressed(UINT8 pid, UINT32 bt)
|
|||
return false;
|
||||
}
|
||||
|
||||
return (menucmd[pid].buttons & bt);
|
||||
return !!(menucmd[pid].buttons & bt);
|
||||
}
|
||||
|
||||
boolean M_MenuButtonHeld(UINT8 pid, UINT32 bt)
|
||||
{
|
||||
return (menucmd[pid].buttons & bt);
|
||||
return !!(menucmd[pid].buttons & bt);
|
||||
}
|
||||
|
||||
// Returns true if we press the confirmation button
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue