1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-19 16:07:40 +00:00

more space for orbs in OSM, fixed some bugs

This commit is contained in:
Zeno Rogue
2017-10-10 15:00:38 +02:00
parent 9214bdb714
commit 11d2acb022
2 changed files with 20 additions and 13 deletions

View File

@@ -296,6 +296,11 @@ eItem treasureType(eLand l) {
return itNone;
}
eLand landof(eItem it) {
for(int i=0; i<landtypes; i++) if(treasureType(eLand(i)) == it) return eLand(i);
return laNone;
}
bool isSealand(eLand l) {
return l == laOcean || l == laCaribbean || l == laWhirlpool || l == laLivefjord ||
l == laOceanWall || l == laWarpSea || l == laKraken;