less ../../../

git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1355 993157c7-ee19-0410-b2c4-bb4e9862e678
This commit is contained in:
(no author)
2007-07-26 08:20:39 +00:00
parent 87ab32acc8
commit cd70038a3c
9 changed files with 20 additions and 27 deletions

View File

@@ -30,7 +30,7 @@ namespace OpenRa.Game
players.Add( i, new Player( i, string.Format( "Multi{0}", i ), OpenRa.TechTree.Race.Soviet ) );
map = new Map(new IniFile(FileSystem.Open(mapName)));
FileSystem.Mount(new Package("../../../" + map.Theater + ".mix"));
FileSystem.Mount(new Package(map.Theater + ".mix"));
viewport = new Viewport(clientSize, map.Size, renderer);

View File

@@ -28,8 +28,8 @@ namespace OpenRa.Game
public MainWindow(Settings settings)
{
FileSystem.Mount(new Folder("../../../"));
FileSystem.Mount(new Package("../../../conquer.mix"));
FileSystem.Mount(new Package("../../../hires.mix"));
FileSystem.Mount(new Package("conquer.mix"));
FileSystem.Mount(new Package("hires.mix"));
FormBorderStyle = FormBorderStyle.None;
BackColor = Color.Black;

View File

@@ -22,7 +22,6 @@ namespace OpenRa.Game
}
catch( Exception e )
{
File.WriteAllText( "error.log", e.ToString() );
Log.Write( "{0}", e.ToString() );
throw;
}