From 19986ca4e578add66672d6597862e51221ac3666 Mon Sep 17 00:00:00 2001 From: eddie-0815 Date: Wed, 9 Jan 2008 21:07:38 +0000 Subject: 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 --- Game/Code/Classes/USongs.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Game') 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; -- cgit v1.2.3