Skip to content

Commit

Permalink
Fixed linedef collision box dimensions in P_CheckPosition. The box be…
Browse files Browse the repository at this point in the history
…ing used was that which is specially enlarged by MAXRADIUS for use with the mobj blockmap.
  • Loading branch information
danij-deng committed Mar 8, 2010
1 parent edf39c8 commit 5e7b86c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doomsday/plugins/common/src/p_map.c
Expand Up @@ -1187,6 +1187,11 @@ boolean P_CheckPosition3f(mobj_t* thing, float x, float y, float z)
blockingMobj = NULL;
#endif

box[BOXLEFT] = tmBBox[BOXLEFT];
box[BOXRIGHT] = tmBBox[BOXRIGHT];
box[BOXBOTTOM] = tmBBox[BOXBOTTOM];
box[BOXTOP] = tmBBox[BOXTOP];

return P_AllLinesBoxIterator(box, PIT_CheckLine, 0);
}

Expand Down

0 comments on commit 5e7b86c

Please sign in to comment.