mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 09:30:35 +00:00
reduced min sightrange to 3
This commit is contained in:
parent
a7ee43474e
commit
b2aa7cb30a
@ -502,7 +502,7 @@ void loadOldConfig(FILE *f) {
|
||||
d = vid.mspeed;
|
||||
err=fscanf(f, "%d%d%d%f%d%d", &aa, &bb, &sightrange, &d, &effvolume, &vid.particles);
|
||||
vid.mspeed = d;
|
||||
if(sightrange < 4) sightrange = 4;
|
||||
if(sightrange < 3) sightrange = 3;
|
||||
if(sightrange > 7) sightrange = 7;
|
||||
vid.revcontrol = aa; vid.drawmousecircle = bb;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user