diff options
author | whiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-04-24 13:09:36 +0000 |
---|---|---|
committer | whiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-04-24 13:09:36 +0000 |
commit | 4ca6b721c705fb98e3dd7f952403e600ddee9238 (patch) | |
tree | 6de3f73ae4b142304bb6858f2d63abda1bd20c83 | |
parent | 569213582ca4147e6df5309f65d8a442da394a25 (diff) | |
download | usdx-4ca6b721c705fb98e3dd7f952403e600ddee9238.tar.gz usdx-4ca6b721c705fb98e3dd7f952403e600ddee9238.tar.xz usdx-4ca6b721c705fb98e3dd7f952403e600ddee9238.zip |
Fixed: Select a not Visible Button in Joker Menu, if the first Team has no Joker
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@133 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r-- | Game/Code/Screens/UScreenSongMenu.pas | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/Game/Code/Screens/UScreenSongMenu.pas b/Game/Code/Screens/UScreenSongMenu.pas index 699e0b92..d4ad8016 100644 --- a/Game/Code/Screens/UScreenSongMenu.pas +++ b/Game/Code/Screens/UScreenSongMenu.pas @@ -329,8 +329,8 @@ begin SelectsS[0].Visible := False;
Button[0].Text[0].Text := Language.Translate('SONG_MENU_PLAY');
- Button[1].Text[0].Text := Language.Translate('SONG_MENU_JOKER');
- Button[2].Text[0].Text := Language.Translate('SONG_MENU_PLAYMODI');
+ //Button[1].Text[0].Text := Language.Translate('SONG_MENU_JOKER');
+ //Button[2].Text[0].Text := Language.Translate('SONG_MENU_PLAYMODI');
Button[3].Text[0].Text := Language.Translate('SONG_MENU_JOKER');
end;
@@ -349,6 +349,21 @@ begin Button[1].Text[0].Text := String(PartySession.Teams.Teaminfo[1].Name);
Button[2].Text[0].Text := String(PartySession.Teams.Teaminfo[2].Name);
Button[3].Text[0].Text := Language.Translate('SONG_MENU_CANCEL');
+
+ //Set right Interaction
+ if (not Button[0].Visible) then
+ begin
+ if (not Button[1].Visible) then
+ begin
+ if (not Button[2].Visible) then
+ begin
+ Interaction := 4;
+ end
+ else Interaction := 2;
+ end
+ else Interaction := 1;
+ end;
+
end;
end;
end;
|