1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

the World Overview now states the orb unlocked correctly in the OSM (for Mirror and Crossroads)

This commit is contained in:
Zeno Rogue 2017-08-18 02:29:33 +02:00
parent 1ce21a1d94
commit e8da66140d

View File

@ -404,6 +404,8 @@ bool isElemental(eLand l);
eItem orbType(eLand l) { eItem orbType(eLand l) {
if(isElemental(l)) l = laElementalWall; if(isElemental(l)) l = laElementalWall;
if(inv::on && (l == laMirror || l == laMirrorOld || isCrossroads(l)))
return itOrbMirror;
if(l == laMirror || l == laMirrorOld) return itShard; if(l == laMirror || l == laMirrorOld) return itShard;
for(int i=0; i<ORBLINES; i++) for(int i=0; i<ORBLINES; i++)
if(orbinfos[i].l == l && orbinfos[i].gchance) if(orbinfos[i].l == l && orbinfos[i].gchance)