aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes/USongs.pas
diff options
context:
space:
mode:
authorwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-05-08 19:55:34 +0000
committerwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-05-08 19:55:34 +0000
commite452e8c6d60af8e8a8eb957f1ef59d461f48c99a (patch)
tree65220e5c8463aa87324c5bbffead506adf63f8b1 /Game/Code/Classes/USongs.pas
parent5270a02d1dea4f660349f0414d63c3b969def187 (diff)
downloadusdx-e452e8c6d60af8e8a8eb957f1ef59d461f48c99a.tar.gz
usdx-e452e8c6d60af8e8a8eb957f1ef59d461f48c99a.tar.xz
usdx-e452e8c6d60af8e8a8eb957f1ef59d461f48c99a.zip
Fixed the "one Song too much" Bug
Added 2 Error Messages: When Opening Sing or Party: No Songs Loaded When Opening Party: No Plugins loaded Added Messages to Language File git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@182 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/Classes/USongs.pas')
-rw-r--r--Game/Code/Classes/USongs.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/Game/Code/Classes/USongs.pas b/Game/Code/Classes/USongs.pas
index 0a319370..4b49127c 100644
--- a/Game/Code/Classes/USongs.pas
+++ b/Game/Code/Classes/USongs.pas
@@ -110,7 +110,7 @@ begin
BrowseDir(SongPath);
//Set Correct SongArray Length
- SetLength(Song, BrowsePos + 1);
+ SetLength(Song, BrowsePos);
// if Ini.Debug = 1 then BrowseDir('D:\Extract\Songs\');
end;