Skip to content

Commit

Permalink
Map|World: Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Jan 23, 2014
1 parent ce5e189 commit 3d6eca1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions doomsday/client/src/world/map.cpp
Expand Up @@ -3227,13 +3227,13 @@ static int bspTreeHeight(MapElement const &bspElem)
return 0;
}

static String bspTreeDescription(Map const &map)
static String bspTreeSummary(Map const &map)
{
if(map.hasBspRoot())
{
String desc = String("%1 nodes, %2 leafs")
.arg(map.bspNodeCount())
.arg(map.bspLeafCount());
String desc = String("%1 leafs, %2 nodes")
.arg(map.bspLeafCount())
.arg(map.bspNodeCount());
if(map.bspRoot().is<BspNode>())
{
BspNode const &bspRootNode = map.bspRoot().as<BspNode>();
Expand Down Expand Up @@ -3301,7 +3301,7 @@ D_CMD(InspectMap)

if(map.hasBspRoot())
{
LOG_SCR_MSG(_E(l) "BSP: " _E(.) _E(i)) << bspTreeDescription(map);
LOG_SCR_MSG(_E(l) "BSP: " _E(.) _E(i)) << bspTreeSummary(map);
}

if(!map.bspLeafBlockmap().isNull())
Expand Down

0 comments on commit 3d6eca1

Please sign in to comment.