Skip to content

Commit

Permalink
Debug|Hexen: Print map info/warp numbers at the correct time
Browse files Browse the repository at this point in the history
Do not print before the data is actually parsed…
  • Loading branch information
skyjake committed Jul 24, 2012
1 parent 4c3deb9 commit e8b0b13
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions doomsday/plugins/jhexen/src/p_mapinfo.c
Expand Up @@ -218,10 +218,6 @@ void P_InitMapInfo(void)
SC_MustGetString();
strcpy(info->name, sc_String);

#ifdef _DEBUG
Con_Message("MAPINFO: map%i \"%s\" warp:%i\n", map, info->name, info->warpTrans);
#endif

// Process optional tokens
while(SC_GetString())
{
Expand Down Expand Up @@ -327,6 +323,11 @@ void P_InitMapInfo(void)
break;
}
}

#ifdef _DEBUG
Con_Message("MAPINFO: map%i \"%s\" warp:%i\n", map, info->name, info->warpTrans);
#endif

mapMax = map > mapMax ? map : mapMax;
}

Expand Down

0 comments on commit e8b0b13

Please sign in to comment.