fix crashes when recursing portals on maps with some bogus leafs (where
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 18 Aug 2008 17:50:21 +0000 (17:50 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 18 Aug 2008 17:50:21 +0000 (17:50 +0000)
commit1a8f8b37c07a75324cc298e2188356618dfb7635
tree3114aba407994975f51752007d4eb43e3a8ed43c
parenteb4bd4314b0da59714e2502103bbd443a9a4df2e
fix crashes when recursing portals on maps with some bogus leafs (where
infinite recursion loops can occur, alternating between two leafs), such
as cmc.bsp for prozactf coop

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8455 d7cf8633-e32d-0410-b094-e92efae38249
gl_rsurf.c
model_shared.h
portals.c
portals.h
r_shadow.c