mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-29 23:22:32 +00:00
new map also needs a temp file
This commit is contained in:
parent
4f3b9f74eb
commit
c8e83ee169
2 changed files with 7 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue