Skip to content

Commit

Permalink
Removed the benign sector reports as they are no longer needed/sent a…
Browse files Browse the repository at this point in the history
…s we now prune out sectors with no linedefs during map loading.
  • Loading branch information
danij committed Jul 11, 2008
1 parent 1ba9a4b commit c41a293
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions doomsday/engine/portable/src/edit_map.c
Expand Up @@ -1564,20 +1564,6 @@ boolean MPE_End(void)
gx.SetupForMapData(DMU_SECTOR, gamemap->numSectors);
}

for(i = 0; i < gamemap->numSectors; ++i)
{
sector_t *sec = &gamemap->sectors[i];

if(!(sec->lineDefCount > 0))
{ // Its a "benign" sector.
// Send the game a status report (we don't need to do anything).
if(gx.HandleMapObjectStatusReport)
gx.HandleMapObjectStatusReport(DMUSC_SECTOR_ISBENIGN,
sec - gamemap->sectors,
DMU_SECTOR, NULL);
}
}

/**
* Are we caching this map?
*/
Expand Down

0 comments on commit c41a293

Please sign in to comment.