mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-18 15:00:26 +00:00
fixed a crash bug with Zebra quotient
This commit is contained in:
parent
c60714f145
commit
abc2c057c8
@ -18,7 +18,7 @@ EX namespace quotientspace {
|
|||||||
|
|
||||||
code get(heptspin hs) {
|
code get(heptspin hs) {
|
||||||
code res;
|
code res;
|
||||||
res.connections.resize(S7);
|
res.connections.resize(S7+1);
|
||||||
res.connections[0] = cod(hs.at);
|
res.connections[0] = cod(hs.at);
|
||||||
for(int i=1; i<=S7; i++) {
|
for(int i=1; i<=S7; i++) {
|
||||||
res.connections[i] = cod((hs + wstep).at);
|
res.connections[i] = cod((hs + wstep).at);
|
||||||
|
Loading…
Reference in New Issue
Block a user