diff options
author | eddie-0815 <eddie-0815@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-11-20 21:02:37 +0000 |
---|---|---|
committer | eddie-0815 <eddie-0815@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-11-20 21:02:37 +0000 |
commit | ce484ce148d1db51ddb3cda575786f0871843cb3 (patch) | |
tree | 16380707a09822ce266bc5a3e7c8427273289073 /Game/Code/Classes/UHooks.pas | |
parent | 34b0cb8bd025b40f52cff91bd9c29cd02faee7c2 (diff) | |
download | usdx-ce484ce148d1db51ddb3cda575786f0871843cb3.tar.gz usdx-ce484ce148d1db51ddb3cda575786f0871843cb3.tar.xz usdx-ce484ce148d1db51ddb3cda575786f0871843cb3.zip |
Changed Platform from Interface to Class.
Added TerminateIfAlreadyRunning and GetGamePath to UPlatform.pas.
Fixed a bug in THookManager.Create ("SpacetoAllocate-1").
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@617 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/Classes/UHooks.pas')
-rw-r--r-- | Game/Code/Classes/UHooks.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Game/Code/Classes/UHooks.pas b/Game/Code/Classes/UHooks.pas index 3e22bc75..8b33959d 100644 --- a/Game/Code/Classes/UHooks.pas +++ b/Game/Code/Classes/UHooks.pas @@ -76,7 +76,7 @@ var I: Integer; begin //Get the Space and "Zero" it SetLength (Events, SpacetoAllocate); - For I := 0 to SpacetoAllocate do + For I := 0 to SpacetoAllocate-1 do Events[I].Name[1] := chr(0); SpaceinEvents := SpacetoAllocate; |