Skip to content

Commit

Permalink
revert adjusting of the BLOCKMAP boundaries to match the Vanilla algo
Browse files Browse the repository at this point in the history
Although this was done in the Vanilla algorithm, it doesn't match
what's done in the algorithms used by MBF and Boom - and thus PrBoom+
which uses the latter. This fixes sync for one demo reported by
galileo31dos01 on 5L1C.wad MAP01.
  • Loading branch information
fabiangreffrath committed Apr 14, 2021
1 parent cde7552 commit c028707
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/doom/p_blockmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,11 @@ void P_CreateBlockMap(void)
maxy = vertexes[i].y >> FRACBITS;
}

#if 0
// [crispy] doombsp/DRAWING.M:175-178
minx -= 8; miny -= 8;
maxx += 8; maxy += 8;
#endif

// Save blockmap parameters

Expand Down

0 comments on commit c028707

Please sign in to comment.