1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-22 21:23:18 +00:00

fixed a crash when generating horocycles

This commit is contained in:
Zeno Rogue 2019-11-14 19:50:12 +01:00
parent 234677c5eb
commit b95672fb26

View File

@ -249,7 +249,8 @@ EX heptagon *createAlternateMap(cell *c, int rad, hstate firststate, int special
alt->emeraldval = 0;
alt->zebraval = 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->alt = alt;
h->alt = alt;