Skip to content

Commit bc63421

Browse files
committed
Automap stats can be set from the menu (Doom branch)
1 parent ab2e696 commit bc63421

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Doom/m_menu.pas

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -805,6 +805,7 @@ procedure M_SetupNextMenu(menudef: Pmenu_t);
805805
od_allowautomaprotate,
806806
od_texturedautomap,
807807
od_automapgrid,
808+
od_automapstats,
808809
od_automapplayertrace,
809810
od_automap_empty1,
810811
optdispautomap_end
@@ -5768,6 +5769,14 @@ procedure M_InitMenus;
57685769
pmi.pBoolVal := @automapgrid;
57695770
pmi.alphaKey := 'g';
57705771

5772+
inc(pmi);
5773+
pmi.status := 1;
5774+
pmi.name := '!Display statistics';
5775+
pmi.cmd := 'amdrawstats';
5776+
pmi.routine := @M_BoolCmd;
5777+
pmi.pBoolVal := @amdrawstats;
5778+
pmi.alphaKey := 's';
5779+
57715780
inc(pmi);
57725781
pmi.status := 2;
57735782
pmi.name := '!Player trace distance';

0 commit comments

Comments
 (0)