aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Prim_manager.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Prim_manager.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Prim_manager.cs b/Prim_manager.cs
index aa1c32a..3b6af10 100644
--- a/Prim_manager.cs
+++ b/Prim_manager.cs
@@ -310,10 +310,10 @@ namespace OpenSim
310 objupdate.ObjectData = new libsecondlife.Packets.ObjectUpdatePacket.ObjectDataBlock[num]; 310 objupdate.ObjectData = new libsecondlife.Packets.ObjectUpdatePacket.ObjectDataBlock[num];
311 311
312 // int count=0; 312 // int count=0;
313 string data_path = System.AppDomain.CurrentDomain.BaseDirectory + @"\data\"; 313 string data_path = System.IO.Path.Combine(System.AppDomain.CurrentDomain.BaseDirectory, @"data");
314 for(int cc = 0; cc < num; cc++) 314 for(int cc = 0; cc < num; cc++)
315 { 315 {
316 string filenam = data_path+@"prim_updates"+start+".dat"; 316 string filenam = System.IO.Path.Combine(data_path, @"prim_updates"+start+".dat");
317 int i = 0; 317 int i = 0;
318 //FileInfo fInfo = new FileInfo("objectupate"+start+".dat"); 318 //FileInfo fInfo = new FileInfo("objectupate"+start+".dat");
319 FileInfo fInfo = new FileInfo(filenam); 319 FileInfo fInfo = new FileInfo(filenam);