1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-29 19:40:35 +00:00

added menuitem_sightrange to hyper.h

This commit is contained in:
Zeno Rogue 2018-11-01 20:54:44 +01:00
parent 1762dddfde
commit c4e11f960a
2 changed files with 3 additions and 1 deletions

View File

@ -605,7 +605,7 @@ void edit_sightrange() {
}; };
} }
void menuitem_sightrange(char c = 'r') { void menuitem_sightrange(char c) {
if(vid.use_smart_range) if(vid.use_smart_range)
dialog::addSelItem(XLAT("minimum visible cell in pixels"), fts(vid.smart_range_detail), c); dialog::addSelItem(XLAT("minimum visible cell in pixels"), fts(vid.smart_range_detail), c);
else else

View File

@ -4296,5 +4296,7 @@ namespace brownian {
void enable_cheat(); void enable_cheat();
extern int cells_drawn; extern int cells_drawn;
void menuitem_sightrange(char c = 'r');
} }