mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-26 01:50:36 +00:00
limited distlimit to 30
This commit is contained in:
parent
563faad64e
commit
9547fe6bd6
@ -267,6 +267,8 @@ namespace whirl {
|
|||||||
// ispin = rspintox(next);
|
// ispin = rspintox(next);
|
||||||
alpha = -atan2(next[1], next[0]);
|
alpha = -atan2(next[1], next[0]);
|
||||||
base_distlimit = (base_distlimit + log(scale) / log(2.618)) / scale;
|
base_distlimit = (base_distlimit + log(scale) / log(2.618)) / scale;
|
||||||
|
if(base_distlimit > 30)
|
||||||
|
base_distlimit = 30;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
scale = 1;
|
scale = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user