1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 09:30:35 +00:00

3D:: disabled build_shortest_path in euclid for now

This commit is contained in:
? 2019-02-27 17:58:23 +01:00 committed by Zeno Rogue
parent 483a5e253c
commit 00d9bacddd

View File

@ -881,7 +881,7 @@ vector<cell*> build_shortest_path(cell *c1, cell *c2) {
if(geometry == gCrystal) return crystal::build_shortest_path(c1, c2); if(geometry == gCrystal) return crystal::build_shortest_path(c1, c2);
#endif #endif
vector<cell*> p; vector<cell*> p;
if(euclid) { if(euclid && DIM == 2) {
using namespace hyperpoint_vec; using namespace hyperpoint_vec;
p.push_back(c1); p.push_back(c1);
hyperpoint h = tC0(calc_relative_matrix(c2, c1, C0)) - C0; hyperpoint h = tC0(calc_relative_matrix(c2, c1, C0)) - C0;