1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-22 21:23:18 +00:00

mstretch fixup

This commit is contained in:
Zeno Rogue 2020-08-23 00:16:14 +02:00
parent 62b85fff34
commit 01ed0290c2

View File

@ -1557,7 +1557,7 @@ EX void optimizeview() {
cell *c = centerover;
transmatrix iView = inverse(View);
virtualRebase(centerover, iView);
if(c != centerover && (sphere || sl3)) {
if(c != centerover && (sphere || sl2)) {
transmatrix T = currentmap->relative_matrix(centerover, c, C0);
T = stretch::itranslate(tC0(T)) * T;
stretch::mstretch_matrix = T * stretch::mstretch_matrix;