1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-13 17:06:52 +00:00

crystal:: fixed a crash bug

This commit is contained in:
Zeno Rogue 2021-09-30 11:14:31 +02:00
parent 402fabeefb
commit 9a32a462cc

View File

@ -639,6 +639,8 @@ struct hrmap_crystal : hrmap_standard {
transmatrix res; transmatrix res;
ld gdist = S7 == 12 ? hdist0(tC0(cgi.adjmoves[0])) : cgi.strafedist; ld gdist = S7 == 12 ? hdist0(tC0(cgi.adjmoves[0])) : cgi.strafedist;
h->cmove(d);
for(auto& cr: cgi.cellrotations) { for(auto& cr: cgi.cellrotations) {
transmatrix U = T * cr.M; transmatrix U = T * cr.M;