diff --git a/config.cpp b/config.cpp index 38ecac64..221e0685 100644 --- a/config.cpp +++ b/config.cpp @@ -605,7 +605,7 @@ void edit_sightrange() { }; } -void menuitem_sightrange(char c = 'r') { +void menuitem_sightrange(char c) { if(vid.use_smart_range) dialog::addSelItem(XLAT("minimum visible cell in pixels"), fts(vid.smart_range_detail), c); else diff --git a/hyper.h b/hyper.h index dde1b073..44273fac 100644 --- a/hyper.h +++ b/hyper.h @@ -4296,5 +4296,7 @@ namespace brownian { void enable_cheat(); extern int cells_drawn; + +void menuitem_sightrange(char c = 'r'); }