Skip to content

Commit

Permalink
Added extra Z_CheckHeaps (debug)
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Mar 14, 2003
1 parent 65badd4 commit f301b91
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions doomsday/Src/jHexen/P_setup.c
Expand Up @@ -1077,9 +1077,22 @@ void P_SetupLevel(int episode, int map, int playermask, skill_t skill)
}
players[consoleplayer].plr->viewz = 1; // will be set by player think

#if _DEBUG
Z_CheckHeap();
#endif

S_LevelChange();

#if _DEBUG
Z_CheckHeap();
#endif

S_StartMusic("chess", true); // Waiting-for-level-load song

#if _DEBUG
Z_CheckHeap();
#endif

Z_FreeTags(PU_LEVEL, PU_PURGELEVEL-1);

P_InitThinkers();
Expand Down

0 comments on commit f301b91

Please sign in to comment.