aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes
diff options
context:
space:
mode:
authoreddie-0815 <eddie-0815@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-01-09 21:07:38 +0000
committereddie-0815 <eddie-0815@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-01-09 21:07:38 +0000
commit19986ca4e578add66672d6597862e51221ac3666 (patch)
treeddf44621ebfe8e7dadbec0d8eb45156c90b405ad /Game/Code/Classes
parent49d52afc94a97f808adc246247989244ef2071ff (diff)
downloadusdx-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
Diffstat (limited to 'Game/Code/Classes')
-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 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;