mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 09:50:34 +00:00
cdata is now initialized to 0, or ALL if reptilecheat is on
This commit is contained in:
parent
0a5fd1a328
commit
df0578a1fe
5
cell.cpp
5
cell.cpp
@ -1549,7 +1549,10 @@ cdata *getHeptagonCdata(heptagon *h) {
|
||||
if(sphere || quotient) h = currentmap->gamestart()->master;
|
||||
|
||||
if(h == currentmap->gamestart()->master) {
|
||||
return h->cdata = new cdata(orig_cdata);
|
||||
h->cdata = new cdata(orig_cdata);
|
||||
for(int& v: h->cdata->val) v = 0;
|
||||
h->cdata->bits = reptilecheat ? (1 << 21) - 1 : 0;
|
||||
return h->cdata;
|
||||
}
|
||||
|
||||
cdata mydata = *getHeptagonCdata(h->move(0));
|
||||
|
Loading…
Reference in New Issue
Block a user