aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbasisbit <basisbit@b956fd51-792f-4845-bead-9b4dfca2ff2c>2015-08-23 03:31:49 +0000
committerbasisbit <basisbit@b956fd51-792f-4845-bead-9b4dfca2ff2c>2015-08-23 03:31:49 +0000
commit8a43116029d35501f603859a76517fc7e7147f89 (patch)
tree840af760f0c6e61710a530c2854cf813527ea72c
parentcb50c854d301fffedc760a24ff363c69c41e3ad8 (diff)
downloadusdx-8a43116029d35501f603859a76517fc7e7147f89.tar.gz
usdx-8a43116029d35501f603859a76517fc7e7147f89.tar.xz
usdx-8a43116029d35501f603859a76517fc7e7147f89.zip
*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
-rw-r--r--src/screens/UScreenOptionsSound.pas6
1 files changed, 3 insertions, 3 deletions
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;