diff options
author | cw | 2007-02-01 00:15:47 +0000 |
---|---|---|
committer | cw | 2007-02-01 00:15:47 +0000 |
commit | 89d242d246cbe8023af9b428257053e92572a8c8 (patch) | |
tree | 2439577b82c44b9dcc499994e70e863343d00831 /Asset_manager.cs | |
parent | Making trunk; applying appropriate license to each file (diff) | |
download | opensim-SC_OLD-89d242d246cbe8023af9b428257053e92572a8c8.zip opensim-SC_OLD-89d242d246cbe8023af9b428257053e92572a8c8.tar.gz opensim-SC_OLD-89d242d246cbe8023af9b428257053e92572a8c8.tar.bz2 opensim-SC_OLD-89d242d246cbe8023af9b428257053e92572a8c8.tar.xz |
Cleanup
Diffstat (limited to 'Asset_manager.cs')
-rw-r--r-- | Asset_manager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Asset_manager.cs b/Asset_manager.cs index 194d28f..3723e1d 100644 --- a/Asset_manager.cs +++ b/Asset_manager.cs | |||
@@ -118,7 +118,7 @@ namespace Second_server | |||
118 | } | 118 | } |
119 | private void load_asset(Asset_info info) | 119 | private void load_asset(Asset_info info) |
120 | { | 120 | { |
121 | string data_path=System.Windows.Forms.Application.StartupPath + @"\assets\"; | 121 | string data_path = System.AppDomain.CurrentDomain.BaseDirectory + @"\assets\"; |
122 | string filename=data_path+@info.filename; | 122 | string filename=data_path+@info.filename; |
123 | FileInfo fInfo = new FileInfo(filename); | 123 | FileInfo fInfo = new FileInfo(filename); |
124 | 124 | ||