mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-23 12:22:35 +00:00
Fixed breaking compatibility with DB1 settings files
This commit is contained in:
parent
94d7b1b9c1
commit
ff2877181c
1 changed files with 4 additions and 4 deletions
|
@ -132,8 +132,8 @@ namespace CodeImp.DoomBuilder.Editing
|
|||
cfg.WriteSetting(path + ".backsource", backsource);
|
||||
cfg.WriteSetting(path + ".backoffsetx", backoffsetx);
|
||||
cfg.WriteSetting(path + ".backoffsety", backoffsety);
|
||||
cfg.WriteSetting(path + ".backscalex", backscalex);
|
||||
cfg.WriteSetting(path + ".backscaley", backscaley);
|
||||
cfg.WriteSetting(path + ".backscalex", (int)(backscalex * 100.0f));
|
||||
cfg.WriteSetting(path + ".backscaley", (int)(backscaley * 100.0f));
|
||||
cfg.WriteSetting(path + ".gridsize", gridsize);
|
||||
}
|
||||
|
||||
|
@ -145,8 +145,8 @@ namespace CodeImp.DoomBuilder.Editing
|
|||
backsource = cfg.ReadSetting(path + ".backsource", 0);
|
||||
backoffsetx = cfg.ReadSetting(path + ".backoffsetx", 0);
|
||||
backoffsety = cfg.ReadSetting(path + ".backoffsety", 0);
|
||||
backscalex = cfg.ReadSetting(path + ".backscalex", 1.0f);
|
||||
backscaley = cfg.ReadSetting(path + ".backscaley", 1.0f);
|
||||
backscalex = (float)cfg.ReadSetting(path + ".backscalex", 100) / 100.0f;
|
||||
backscaley = (float)cfg.ReadSetting(path + ".backscaley", 100) / 100.0f;
|
||||
gridsize = cfg.ReadSetting(path + ".gridsize", DEFAULT_GRID_SIZE);
|
||||
|
||||
// Setup
|
||||
|
|
Loading…
Reference in a new issue