mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-04-27 21:23:19 +00:00
fixed bug
This commit is contained in:
parent
d47c09de12
commit
5d5dc62f9e
@ -1484,7 +1484,7 @@ EX void optimizeview() {
|
|||||||
turn = -1, best = hdist0(tC0(View));
|
turn = -1, best = hdist0(tC0(View));
|
||||||
if(asonov::in()) {
|
if(asonov::in()) {
|
||||||
hyperpoint h = asonov::straighten * tC0(View);
|
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++) {
|
for(int i=0; i<viewctr.at->type; i++) {
|
||||||
if(penrose && euclid && (i < 4 || i >= 8)) continue;
|
if(penrose && euclid && (i < 4 || i >= 8)) continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user