Skip to content

Commit

Permalink
Fixed: Bounding box axis shadow test in ssecBlockIterator; the top/bo…
Browse files Browse the repository at this point in the history
…ttom points were swapped.
  • Loading branch information
danij committed Jan 20, 2009
1 parent c80bb63 commit 81c1845
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doomsday/engine/portable/src/p_bmap.c
Expand Up @@ -734,9 +734,9 @@ static boolean ssecBlockIterator(void* ptr, void* context)
// Check the bounds.
if(args->box &&
(ssec->bBox[1].pos[VX] < args->box[0][VX] ||
ssec->bBox[0].pos[VX] > args->box[1][VX] ||
ssec->bBox[1].pos[VY] < args->box[0][VY] ||
ssec->bBox[0].pos[VY] > args->box[1][VY]))
ssec->bBox[0].pos[VX] > args->box[1][VX] ||
ssec->bBox[0].pos[VY] > args->box[1][VY] ||
ssec->bBox[1].pos[VY] < args->box[0][VY]))
ok = false;

if(ok)
Expand Down

0 comments on commit 81c1845

Please sign in to comment.