1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-24 07:56:59 +00:00

3d:: in ggmatrix fixed [2][2] to [DIM][DIM]

This commit is contained in:
? 2019-02-27 17:59:20 +01:00 committed by Zeno Rogue
parent 38ded28511
commit 8c5df8dfd4

View File

@ -219,7 +219,7 @@ transmatrix calc_relative_matrix(cell *c2, cell *c1, const hyperpoint& point_hin
transmatrix &ggmatrix(cell *c) {
transmatrix& t = gmatrix[c];
if(t[2][2] == 0) {
if(t[DIM][DIM] == 0) {
if(euwrap && centerover.at)
t = calc_relative_matrix(c, centerover.at, C0);
else if(euclid && DIM == 2) {