Commit 5b1aadf2 authored by Richard Gobeille's avatar Richard Gobeille
Browse files

editor: fix crash on sector creation

parent b75488b4
......@@ -7076,11 +7076,12 @@ end_join_sectors:
yax_update(0);
yax_updategrays(pos.z);
#endif
calc_sector_reachability();
numwalls = newnumwalls;
newnumwalls = -1;
numsectors++;
calc_sector_reachability();
asksave = 1;
printmessage16("Inner loop made into new sector.");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment