less ../../../
git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1355 993157c7-ee19-0410-b2c4-bb4e9862e678
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -22,7 +22,6 @@ namespace OpenRa.Game
|
||||
}
|
||||
catch( Exception e )
|
||||
{
|
||||
File.WriteAllText( "error.log", e.ToString() );
|
||||
Log.Write( "{0}", e.ToString() );
|
||||
throw;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user