properly adjust texlists when deleting texture slots

check texlists during save (and print warning, if errors were corrected)

also add (undocumented) command to patch messed up texlists
This commit is contained in:
ac-stef
2016-08-20 14:45:41 +02:00
parent d48675911f
commit d5bd896189
5 changed files with 50 additions and 23 deletions
+1 -2
View File
@@ -1080,10 +1080,9 @@ void resetmap(bool mrproper)
resetzones();
clearminimap();
cleardynlights();
pruneundos();
reseteditor();
changedents.setsize(0);
deleted_ents.setsize(0);
pinnedclosestent = false;
particlereset();
setmapinfo("", "");
if(mrproper)