1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-24 09:24:49 +00:00

2D3D:: Archimedean no longer crashes after changing

This commit is contained in:
Zeno Rogue
2019-05-08 21:09:22 +02:00
parent 2d79243ca2
commit 6a7c1438eb
6 changed files with 31 additions and 3 deletions

View File

@@ -6845,4 +6845,8 @@ bool inscreenrange(cell *c) {
return heptdistance(viewcenter(), c) <= 8;
}
#if MAXMDIM >= 4
auto hooksw = addHook(hooks_swapdim, 100, [] { clearAnimations(); gmatrix.clear(); gmatrix0.clear(); });
#endif
}