diff options
author | brunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-05-22 14:20:40 +0000 |
---|---|---|
committer | brunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-05-22 14:20:40 +0000 |
commit | ca2c58342560af45662272348916f02449ac4366 (patch) | |
tree | ea09625b50f4beb38029401a8521a56befb92d60 /Game/Code/Classes | |
parent | 41dba4cdfa6828043ebf16ed6ce332c8c311318d (diff) | |
download | usdx-ca2c58342560af45662272348916f02449ac4366.tar.gz usdx-ca2c58342560af45662272348916f02449ac4366.tar.xz usdx-ca2c58342560af45662272348916f02449ac4366.zip |
UScreenSong: toggle tabs with T; change sorting with SHIFT+T; removed Ini.tabs_at_startup because there is Ini.Tabs already
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/1.0.1 Challenge MOD@2396 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/Classes')
-rw-r--r-- | Game/Code/Classes/UIni.pas | 4 | ||||
-rw-r--r-- | Game/Code/Classes/USongs.pas | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/Game/Code/Classes/UIni.pas b/Game/Code/Classes/UIni.pas index 0cfea5ce..85aff535 100644 --- a/Game/Code/Classes/UIni.pas +++ b/Game/Code/Classes/UIni.pas @@ -19,7 +19,6 @@ type Difficulty: integer;
Language: integer;
Tabs: integer;
- Tabs_at_startup:integer; //Tabs at Startup fix
Sorting: integer;
ShuffleTime: integer;
Debug: integer;
@@ -257,9 +256,6 @@ begin for Pet := 0 to High(ITabs) do
if Tekst = ITabs[Pet] then Ini.Tabs := Pet;
- //Tabs at Startup fix
- Ini.Tabs_at_startup := Ini.Tabs;
-
// Sorting
Tekst := IniFile.ReadString('Game', 'Sorting', ISorting[0]);
for Pet := 0 to High(ISorting) do
diff --git a/Game/Code/Classes/USongs.pas b/Game/Code/Classes/USongs.pas index e3289b8a..f5b105be 100644 --- a/Game/Code/Classes/USongs.pas +++ b/Game/Code/Classes/USongs.pas @@ -609,7 +609,7 @@ begin end;
//CatNumber Patch - Set CatNumber of Last Category
- if (ini.Tabs_at_startup = 1) And (high(Song) >=1) then
+ if (Ini.Tabs = 1) And (high(Song) >=1) then
Song[CatLen - CatNumber].CatNumber := CatNumber;//Set CatNumber of Categroy
//CatCount Patch
CatCount := Order;
|