- moved around some pieces of code to make sharing with Raze easier.

This commit is contained in:
Christoph Oelckers 2020-04-11 19:22:16 +02:00
commit cf51508ce6
21 changed files with 96 additions and 74 deletions

View file

@ -276,8 +276,6 @@ void MarkArray(DObject **obj, size_t count)
static void MarkRoot()
{
int i;
Gray = NULL;
Mark(StatusBar);
M_MarkMenus();
@ -288,7 +286,7 @@ static void MarkRoot()
Level->Mark();
// Mark players.
for (i = 0; i < MAXPLAYERS; i++)
for (int i = 0; i < MAXPLAYERS; i++)
{
if (playeringame[i])
players[i].PropagateMark();