- Changed the SCROLLTYPE define so that any extra bits set cause it to default

to 7. This effects action.wad, MAP02, lines 12054 and 12059, which had them
  at 128, so they no longer scrolled in r832+.


SVN r1815 (trunk)
This commit is contained in:
Randy Heit 2009-09-10 22:19:21 +00:00
commit e6174f5259
2 changed files with 6 additions and 1 deletions

View file

@ -1311,7 +1311,7 @@ DScroller::DScroller (fixed_t dx, fixed_t dy, const line_t *l,
// Amount (dx,dy) vector linedef is shifted right to get scroll amount
#define SCROLL_SHIFT 5
#define SCROLLTYPE(i) ((i)<=0 ? 7:(i))
#define SCROLLTYPE(i) (((i) <= 0) || ((i) & ~7) ? 7 : (i))
// Initialize the scrollers
static void P_SpawnScrollers(void)