Skip to content

Commit

Permalink
Show release date for extras.wad in mapstats CCMD
Browse files Browse the repository at this point in the history
  • Loading branch information
bradharding committed Aug 16, 2024
1 parent 485a863 commit 9574d9e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/c_cmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -5437,6 +5437,9 @@ static void mapstats_func2(char *cmd, char *parms)
{
C_TabbedOutput(tabs, INDENT "PWAD\t%s", leafname(lumpinfo[mus_playing->lumpnum]->wadfile->path));

if (namebuf[0] == 'H' && namebuf[1] == '_')
C_TabbedOutput(tabs, INDENT INDENT "Release date\tAugust 8, 2024");

if (!M_StringCompare(lumpinfo[lump]->wadfile->path, lumpinfo[mus_playing->lumpnum]->wadfile->path))
C_TabbedOutput(tabs, INDENT INDENT "MD5\t%s", MD5(lumpinfo[mus_playing->lumpnum]->wadfile->path));
}
Expand Down

0 comments on commit 9574d9e

Please sign in to comment.