mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-27 03:47:40 +00:00
fixed a bug with Archimedean hyperbolic tilings
This commit is contained in:
2
cell.cpp
2
cell.cpp
@@ -681,7 +681,7 @@ cdata *getHeptagonCdata_legacy(heptagon *h) {
|
|||||||
|
|
||||||
if(sphere || quotient) h = currentmap->gamestart()->master;
|
if(sphere || quotient) h = currentmap->gamestart()->master;
|
||||||
|
|
||||||
if(h == currentmap->gamestart()->master) {
|
if(h == currentmap->getOrigin()) {
|
||||||
h->cdata = new cdata(orig_cdata);
|
h->cdata = new cdata(orig_cdata);
|
||||||
for(int& v: h->cdata->val) v = 0;
|
for(int& v: h->cdata->val) v = 0;
|
||||||
h->cdata->bits = reptilecheat ? (1 << 21) - 1 : 0;
|
h->cdata->bits = reptilecheat ? (1 << 21) - 1 : 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user