mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 09:30:35 +00:00
fixed buildEquidistant by using MODFIXER instead of 42
This commit is contained in:
parent
bc558a18df
commit
291f326634
@ -507,7 +507,7 @@ void buildEquidistant(cell *c) {
|
|||||||
mcv2 = coastval(c4, b);
|
mcv2 = coastval(c4, b);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
q = (bsid-j+42) % c2->type;
|
q = (bsid-j+MODFIXER) % c2->type;
|
||||||
c3 = c2->mov[q];
|
c3 = c2->mov[q];
|
||||||
if(coastval(c3, b) < mcv) {
|
if(coastval(c3, b) < mcv) {
|
||||||
cell *c4 = createMovR(c2, bsid-1);
|
cell *c4 = createMovR(c2, bsid-1);
|
||||||
|
Loading…
Reference in New Issue
Block a user