Fixed, "Open map in current wad" action: MAPINFO data must be updated when using the action.

Changed, "Open map in current wad" action: current map resources are now carried over to the map being switched to.
This commit is contained in:
MaxED 2016-01-18 11:39:59 +00:00
parent 4837385037
commit fbb30f6f91
4 changed files with 12 additions and 22 deletions

View file

@ -526,6 +526,9 @@ namespace CodeImp.DoomBuilder
// Sector textures may've been changed
data.UpdateUsedTextures();
// This will update DataManager.mapinfo only
data.ReloadMapInfoPartial();
// Skybox may've been changed
data.SetupSkybox();