mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 01:20:37 +00:00
fixed a crash when generating horocycles
This commit is contained in:
parent
234677c5eb
commit
b95672fb26
@ -249,7 +249,8 @@ EX heptagon *createAlternateMap(cell *c, int rad, hstate firststate, int special
|
|||||||
alt->emeraldval = 0;
|
alt->emeraldval = 0;
|
||||||
alt->zebraval = 0;
|
alt->zebraval = 0;
|
||||||
alt->distance = 0;
|
alt->distance = 0;
|
||||||
alt->fieldval = hybrid::get_where(centerover).second;
|
alt->fieldval = 0;
|
||||||
|
if(hybri) alt->fieldval = hybrid::get_where(centerover).second;
|
||||||
alt->c7 = NULL;
|
alt->c7 = NULL;
|
||||||
alt->alt = alt;
|
alt->alt = alt;
|
||||||
h->alt = alt;
|
h->alt = alt;
|
||||||
|
Loading…
Reference in New Issue
Block a user