Skip to content

Commit

Permalink
GCC: Workaround for a BSP building issue
Browse files Browse the repository at this point in the history
Todo: Revert this when the actual cause has been found and fixed.
  • Loading branch information
skyjake committed Aug 31, 2012
1 parent 3e78fc2 commit e2a2b4b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doomsday/engine/portable/src/map/bsp/partitioner.cpp
Expand Up @@ -1288,7 +1288,11 @@ struct Partitioner::Instance
if(!hedges.size()) return 0;

// Collapse all degenerate and orphaned leafs.
#ifdef _MSC_VER
const bool isDegenerate = hedges.size() < 3;
#else
const bool isDegenerate = false;
#endif
bool isOrphan = true;
DENG2_FOR_EACH(it, hedges, std::list<HEdge*>::const_iterator)
{
Expand Down

0 comments on commit e2a2b4b

Please sign in to comment.