1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-06 22:05:06 +00:00
This commit is contained in:
Zeno Rogue 2018-08-28 19:00:09 +02:00
parent 6de0f0a8aa
commit 6d5d8d8134

View File

@ -3199,14 +3199,14 @@ namespace windmap {
// cw.spin = 0; // cw.spin = 0;
neighbors.emplace_back(); neighbors.emplace_back();
auto &v = neighbors.back(); auto &v = neighbors.back();
if(sphere && STDVAR) if(NONSTDVAR && !sphere)
for(int l=0; l<cw.at->type; l++) v.push_back(getId(cw+l+wstep));
else
for(int l=0; l<S7; l++) { for(int l=0; l<S7; l++) {
heptspin hs(cw.at->master, cw.spin); heptspin hs(cw.at->master, cw.spin);
hs = hs + l + wstep; hs = hs + l + wstep;
v.push_back(getId(cellwalker(hs.at->c7, hs.spin))); v.push_back(getId(cellwalker(hs.at->c7, hs.spin)));
} }
else
for(int l=0; l<cw.at->type; l++) v.push_back(getId(cw+l+wstep));
} }
int N = isize(samples); int N = isize(samples);