1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-28 19:10:35 +00:00

fixed bug

This commit is contained in:
Zeno Rogue 2019-11-09 11:20:51 +01:00
parent d47c09de12
commit 5d5dc62f9e

View File

@ -1484,7 +1484,7 @@ EX void optimizeview() {
turn = -1, best = hdist0(tC0(View));
if(asonov::in()) {
hyperpoint h = asonov::straighten * tC0(View);
best = abs(h[2] > 1) ? 999 : hdist0(h);
best = abs(h[2]) > 1 ? 999 : hdist0(h);
}
for(int i=0; i<viewctr.at->type; i++) {
if(penrose && euclid && (i < 4 || i >= 8)) continue;