diff options
author | eddie-0815 <eddie-0815@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-01-09 22:27:55 +0000 |
---|---|---|
committer | eddie-0815 <eddie-0815@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-01-09 22:27:55 +0000 |
commit | 48be9f5bdc2050578789af544d4575d0b4dffed2 (patch) | |
tree | 117845b6378ccb3357a900e5f4541cb5e42c0810 /Game/Code | |
parent | 167a453b22fe86c327b0b3cd1948e1fb919c13bb (diff) | |
download | usdx-48be9f5bdc2050578789af544d4575d0b4dffed2.tar.gz usdx-48be9f5bdc2050578789af544d4575d0b4dffed2.tar.xz usdx-48be9f5bdc2050578789af544d4575d0b4dffed2.zip |
Changed the GamePath. Now the GamePath is loaded from Platform.GetGameUserPath.
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@769 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code')
-rw-r--r-- | Game/Code/Classes/UIni.pas | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Game/Code/Classes/UIni.pas b/Game/Code/Classes/UIni.pas index abbef723..e4f5e823 100644 --- a/Game/Code/Classes/UIni.pas +++ b/Game/Code/Classes/UIni.pas @@ -174,6 +174,7 @@ uses //UFiles, UMain, SDL, ULanguage, + UPlatform, USkins, URecord, UCommandLine; @@ -197,7 +198,7 @@ var end; begin - GamePath := ExtractFilePath(ParamStr(0)); + GamePath := Platform.GetGameUserPath; if (Params.ConfigFile <> '') then try |