mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-27 16:23:08 +00:00
fixed some guards (in progress)
This commit is contained in:
1 parent
cbd0c1f934
commit
89585f004b
27 files changed
+169
-65
No files matched your search
@@ -910,7 +910,9 @@ string solhelp() {
|
||||
}
|
||||
|
||||
EX void edit_sightrange() {
|
||||
#if CAP_RUG
|
||||
USING_NATIVE_GEOMETRY_IN_RUG;
|
||||
#endif
|
||||
if(vid.use_smart_range) {
|
||||
ld& det = WDIM == 2 ? vid.smart_range_detail : vid.smart_range_detail_3;
|
||||
dialog::editNumber(det, 1, 50, 1, WDIM == 2 ? 8 : 30, XLAT("minimum visible cell in pixels"), "");
|
||||
@@ -2403,8 +2405,10 @@ EX int read_config_args() {
|
||||
|
||||
// non-configurable options
|
||||
else if(argis("-vsync_off")) {
|
||||
#if CAP_SDL && CAP_GL
|
||||
vsync_off = true;
|
||||
if(curphase == 3) setvideomode();
|
||||
#endif
|
||||
}
|
||||
else if(argis("-aura")) {
|
||||
PHASEFROM(2);
|
||||
|
||||
Reference in new issue
Block a user