------------------------------------------------------------------------ r2135 | helixhorned | 2011-11-26 06:12:59 -0800 (Sat, 26 Nov 2011) | 3 lines When restoring temporarily backed up map, clear all TROR bunches. This is suboptimal, but at least 'correct' and won't produce the aforementioned corruptions anymore. ------------------------------------------------------------------------ r2134 | helixhorned | 2011-11-26 06:12:44 -0800 (Sat, 26 Nov 2011) | 2 lines Auto-correct the just mentioned inconsistency by clearing the respective TROR nextwalls. (i.e. setting them to -1 on 'corruptcheck tryfix') ------------------------------------------------------------------------ r2133 | helixhorned | 2011-11-26 06:12:30 -0800 (Sat, 26 Nov 2011) | 3 lines corruption checker: catch TROR-nextwalls in non-extended sectors. These can be caused by copying map parts from one map to another (or a new one). The copying system is slightly broken right now.... ------------------------------------------------------------------------ r2132 | helixhorned | 2011-11-26 06:12:15 -0800 (Sat, 26 Nov 2011) | 4 lines Backing up and restoring highlighted portion of map: calculate new next{wall,sector} indices instead of using checksectorpointer() so that the nextwalls will be restored exactly as they were (provided that they are copied). Also fix tweaking the sectnums of sprites. ------------------------------------------------------------------------ r2131 | helixhorned | 2011-11-25 05:46:48 -0800 (Fri, 25 Nov 2011) | 1 line Fix two bugs with the loop punching code that made it practically useless. ------------------------------------------------------------------------