changed the default texture_step to 4

This commit is contained in:
Zeno Rogue 2020-11-01 21:16:08 +01:00
parent dcd9345fd8
commit 2cc06e39ba
2 changed files with 1 additions and 5 deletions

View File

@ -660,7 +660,7 @@ EX void initConfig() {
addsaver(vid.sloppy_3d, "sloppy3d", true);
addsaver(vid.texture_step, "wall-quality", 1);
addsaver(vid.texture_step, "wall-quality", 4);
addsaver(smooth_scrolling, "smooth-scrolling", false);
addsaver(mouseaim_sensitivity, "mouseaim_sensitivity", 0.01);

View File

@ -1295,7 +1295,6 @@ EX void set_geometry(eGeometry target) {
bool was_default = pmodel == default_model();
callhooks(hooks_on_geometry_change);
if(geometry != target) {
int old_DIM = GDIM;
stop_game();
ors::reset();
if(among(target, gProduct, gRotSpace)) {
@ -1330,10 +1329,7 @@ EX void set_geometry(eGeometry target) {
if(ginf[target].default_variation == eVariation::pure && geometry != gArchimedean)
variation = eVariation::pure;
if(was_default) pmodel = default_model();
if(nonisotropic && old_DIM == 2 && vid.texture_step < 4) vid.texture_step = 4;
if(WDIM == 2 && (cgflags & qIDEAL) && vid.always3 && vid.texture_step < 32) vid.texture_step = 32;
if(prod) { pmodel = mdPerspective; if(vid.texture_step < 4) vid.texture_step = 4; }
if(WDIM == 3 && (cgflags & qIDEAL) && vid.texture_step < 4) vid.texture_step = 4;
if(sl2) nisot::geodesic_movement = true;
if(rotspace) {