From 8a43116029d35501f603859a76517fc7e7147f89 Mon Sep 17 00:00:00 2001 From: basisbit Date: Sun, 23 Aug 2015 03:31:49 +0000 Subject: *fixed "back" button in the sound-options menu git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3124 b956fd51-792f-4845-bead-9b4dfca2ff2c --- src/screens/UScreenOptionsSound.pas | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/screens/UScreenOptionsSound.pas b/src/screens/UScreenOptionsSound.pas index ae502946..b1179282 100644 --- a/src/screens/UScreenOptionsSound.pas +++ b/src/screens/UScreenOptionsSound.pas @@ -84,7 +84,7 @@ begin end; SDLK_RETURN: begin - if SelInteraction = 8 then + if SelInteraction = 6 then begin Ini.Save; AudioPlayback.PlaySound(SoundLib.Back); @@ -97,7 +97,7 @@ begin InteractPrev; SDLK_RIGHT: begin - if (SelInteraction >= 0) and (SelInteraction < 8) then + if (SelInteraction >= 0) and (SelInteraction < 6) then begin AudioPlayback.PlaySound(SoundLib.Option); InteractInc; @@ -105,7 +105,7 @@ begin end; SDLK_LEFT: begin - if (SelInteraction >= 0) and (SelInteraction < 8) then + if (SelInteraction >= 0) and (SelInteraction < 6) then begin AudioPlayback.PlaySound(SoundLib.Option); InteractDec; -- cgit v1.2.3