From 89d242d246cbe8023af9b428257053e92572a8c8 Mon Sep 17 00:00:00 2001 From: cw Date: Thu, 1 Feb 2007 00:15:47 +0000 Subject: Cleanup --- Texture_manager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Texture_manager.cs') diff --git a/Texture_manager.cs b/Texture_manager.cs index 990557e..1321358 100644 --- a/Texture_manager.cs +++ b/Texture_manager.cs @@ -169,7 +169,7 @@ namespace Second_server } private void load_image(Texture_image im) { - string data_path=System.Windows.Forms.Application.StartupPath + @"\textures\"; + string data_path=System.AppDomain.CurrentDomain.BaseDirectory + @"\textures\"; string filename=data_path+@im.filename; FileInfo fInfo = new FileInfo(filename); -- cgit v1.1