------------------------------------------------------------------------ r2112 | helixhorned | 2011-11-11 14:39:56 -0800 (Fri, 11 Nov 2011) | 4 lines Correct thinko with the ceiling/floor movement code. When moving more than one sector c/f and moving one of them would go beyond the other side (ceilingz > floorz), don't move any sector c/f at all. When moving only one sector in that case, move so that ceilingz == floorz. ------------------------------------------------------------------------ r2111 | helixhorned | 2011-11-11 12:05:44 -0800 (Fri, 11 Nov 2011) | 8 lines Tweak raising/lowering (groups of) ceilings or floors. Now, if more than one sectors are affected, always move them by the same amount. That is, if one of them would be sticking against the other side, don't move the rest. Another change consists of determining the z delta first, and only then moving the sprites by that amount. This fixes the problem where you'd e.g. raise a 'floor door' against the ceiling, and the effector sprites would be raised one time too much, preventing them from being lowered the next time. ------------------------------------------------------------------------