Fixed spacing, added brackets. Ready to merge
This commit is contained in:
parent
3f5176ac6a
commit
1cab9faa12
|
@ -519,7 +519,7 @@ void optmenu_check_buttons(void) {
|
||||||
|
|
||||||
/* Enables cheats if the user press the L trigger 3 times while in the options menu. Also plays a sound. */
|
/* Enables cheats if the user press the L trigger 3 times while in the options menu. Also plays a sound. */
|
||||||
|
|
||||||
if (gPlayer1Controller->buttonPressed & L_TRIG && !Cheats.EnableCheats){
|
if ((gPlayer1Controller->buttonPressed & L_TRIG) && !Cheats.EnableCheats) {
|
||||||
if (l_counter == 2) {
|
if (l_counter == 2) {
|
||||||
Cheats.EnableCheats = true;
|
Cheats.EnableCheats = true;
|
||||||
play_sound(SOUND_MENU_STAR_SOUND, gDefaultSoundArgs);
|
play_sound(SOUND_MENU_STAR_SOUND, gDefaultSoundArgs);
|
||||||
|
|
Loading…
Reference in New Issue