aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Screens
diff options
context:
space:
mode:
authorwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-05-02 17:44:23 +0000
committerwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-05-02 17:44:23 +0000
commitdfa0f5a144b8bf018b29d801f7d8a7c54ae6d108 (patch)
tree59dff0f7e8d5b697a1e5bced97aa6ec30586cdbf /Game/Code/Screens
parentac508bab2e69d6ed7987c23f383ed503a310785c (diff)
downloadusdx-dfa0f5a144b8bf018b29d801f7d8a7c54ae6d108.tar.gz
usdx-dfa0f5a144b8bf018b29d801f7d8a7c54ae6d108.tar.xz
usdx-dfa0f5a144b8bf018b29d801f7d8a7c54ae6d108.zip
2 Bugs Fixed:
Select Last Song instead First Song when showing Song Screen for the first Time Go to MainScreen instead of Song Screen when pressing Esc in the Name Screen after Selecting Select Players from Menu git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@154 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/Screens')
-rw-r--r--Game/Code/Screens/UScreenName.pas5
-rw-r--r--Game/Code/Screens/UScreenSong.pas2
2 files changed, 5 insertions, 2 deletions
diff --git a/Game/Code/Screens/UScreenName.pas b/Game/Code/Screens/UScreenName.pas
index 9819b994..9db7947c 100644
--- a/Game/Code/Screens/UScreenName.pas
+++ b/Game/Code/Screens/UScreenName.pas
@@ -41,7 +41,10 @@ begin
begin
Ini.SaveNames;
Music.PlayBack;
- FadeTo(@ScreenMain);
+ if GoTo_SingScreen then
+ FadeTo(@ScreenSong)
+ else
+ FadeTo(@ScreenMain);
end;
SDLK_RETURN:
diff --git a/Game/Code/Screens/UScreenSong.pas b/Game/Code/Screens/UScreenSong.pas
index 5c383168..1f3c7c8f 100644
--- a/Game/Code/Screens/UScreenSong.pas
+++ b/Game/Code/Screens/UScreenSong.pas
@@ -1169,7 +1169,7 @@ begin
if (Ini.Tabs_at_startup = 1) AND (CatSongs.CatNumShow = -1) then
begin
CatSongs.ShowCategoryList;
- SelectNext;SelectPrev; //Workaround <- must be fixed sometime
+ SelectNext; //Workaround <- must be fixed sometime
FixSelected;
//Show Cat in Top Left Mod
HideCatTL;