diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-02-05 21:53:12 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-02-05 21:53:12 +0000 |
commit | 0cff62ed5ea1e4964817bc6efdff523f7b63342e (patch) | |
tree | b9b0d30ca461fef9cbfe3304228af6e8b16e4976 /Game/Code/MacOSX/Wrapper/Windows.pas | |
parent | b4371d97f409af8ab9dc942c39f143ae400854da (diff) | |
download | usdx-0cff62ed5ea1e4964817bc6efdff523f7b63342e.tar.gz usdx-0cff62ed5ea1e4964817bc6efdff523f7b63342e.tar.xz usdx-0cff62ed5ea1e4964817bc6efdff523f7b63342e.zip |
bugfix: ResetSingTemp prevented a song from being played twice ("File not found" error).
The error is due the change of TSong from a record to a class. This is because CurrentSong = CatSongs.Song[index] won't copy the whole data anymore but just a pointer. So the paths of
CatSongs.Song[index] will be set to '' too what is not desired.
Jay: Please revise this. If i remember correctly you wanted to set CurrentSong to nil instead
of setting the paths to an empty string.
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@830 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/MacOSX/Wrapper/Windows.pas')
0 files changed, 0 insertions, 0 deletions