diff options
author | eddie-0815 <eddie-0815@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-01-09 21:07:38 +0000 |
---|---|---|
committer | eddie-0815 <eddie-0815@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-01-09 21:07:38 +0000 |
commit | 19986ca4e578add66672d6597862e51221ac3666 (patch) | |
tree | ddf44621ebfe8e7dadbec0d8eb45156c90b405ad | |
parent | 49d52afc94a97f808adc246247989244ef2071ff (diff) | |
download | usdx-19986ca4e578add66672d6597862e51221ac3666.tar.gz usdx-19986ca4e578add66672d6597862e51221ac3666.tar.xz usdx-19986ca4e578add66672d6597862e51221ac3666.zip |
Changed BrowsePos from Cardinal to Integer, because of range check errors at runtime.
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@765 b956fd51-792f-4845-bead-9b4dfca2ff2c
-rw-r--r-- | Game/Code/Classes/USongs.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Game/Code/Classes/USongs.pas b/Game/Code/Classes/USongs.pas index 31db883d..a4709b43 100644 --- a/Game/Code/Classes/USongs.pas +++ b/Game/Code/Classes/USongs.pas @@ -104,7 +104,7 @@ type TSongs = class( TThread ) {$ENDIF} private - BrowsePos : Cardinal; //Actual Pos in Song Array + BrowsePos : Integer; //Actual Pos in Song Array. eddie: Must be int, because it could be decremented to -1. fNotify , fWatch : longint; fParseSongDirectory : boolean; |