1
0
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:
Zeno Rogue 2018-04-04 00:14:28 +02:00
parent 563faad64e
commit 9547fe6bd6

View File

@ -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;