1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-26 01:50:36 +00:00

reduced min sightrange to 3

This commit is contained in:
Zeno Rogue 2018-02-01 13:43:21 +01:00
parent a7ee43474e
commit b2aa7cb30a

View File

@ -502,7 +502,7 @@ void loadOldConfig(FILE *f) {
d = vid.mspeed; d = vid.mspeed;
err=fscanf(f, "%d%d%d%f%d%d", &aa, &bb, &sightrange, &d, &effvolume, &vid.particles); err=fscanf(f, "%d%d%d%f%d%d", &aa, &bb, &sightrange, &d, &effvolume, &vid.particles);
vid.mspeed = d; vid.mspeed = d;
if(sightrange < 4) sightrange = 4; if(sightrange < 3) sightrange = 3;
if(sightrange > 7) sightrange = 7; if(sightrange > 7) sightrange = 7;
vid.revcontrol = aa; vid.drawmousecircle = bb; vid.revcontrol = aa; vid.drawmousecircle = bb;