new map also needs a temp file

This commit is contained in:
codeimp 2007-06-26 08:47:19 +00:00
parent 4f3b9f74eb
commit c8e83ee169
2 changed files with 7 additions and 4 deletions

View file

@ -3,12 +3,12 @@ shortcuts
{
scrolleast = 39;
scrollsouth = 40;
zoomout = 65531;
scrollnorth = 38;
openmap = 131151;
scrollwest = 37;
newmap = 131150;
zoomin = 65530;
openmap = 131151;
zoomout = 65531;
}
@ -16,8 +16,8 @@ mainwindow
{
positionx = 124;
sizewidth = 739;
windowstate = 2;
sizeheight = 572;
windowstate = 2;
positiony = 35;
}

View file

@ -78,7 +78,7 @@ namespace CodeImp.DoomBuilder
#region ================== Constructor / Disposer
// Constructor for new map
// Constructor
public MapManager()
{
// We have no destructor
@ -126,6 +126,9 @@ namespace CodeImp.DoomBuilder
config = General.LoadGameConfiguration(options.ConfigFile);
data = new MapSet();
// Create temp wadfile
tempwad = new WAD(General.MakeTempFilename());
// Initiate graphics
if(!graphics.Initialize()) return false;