fixed some guards (in progress)

This commit is contained in:
Zeno Rogue committed 2020-07-03 14:42:33 +02:00
1 parent cbd0c1f934
commit 89585f004b
27 files changed
+169 -65

No files matched your search

+4
View File
@@ -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);