1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-10 15:59:53 +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;
neighbors.emplace_back();
auto &v = neighbors.back();
if(sphere && STDVAR)
for(int l=0; l<cw.at->type; l++) v.push_back(getId(cw+l+wstep));
else
if(NONSTDVAR && !sphere)
for(int l=0; l<S7; l++) {
heptspin hs(cw.at->master, cw.spin);
hs = hs + l + wstep;
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);