1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +00:00

no more product-invalid lands generated

This commit is contained in:
Zeno Rogue 2019-08-21 07:31:21 +02:00
parent 63656212e6
commit b978031443

View File

@ -679,13 +679,13 @@ EX land_validity_t& land_validity(eLand l) {
using namespace lv;
if(prod) {
if(prod || product::pmap) {
if(among(l, laPrincessQuest, laPrairie, laMirrorOld, laMirror, laDual, laWarpCoast, laKraken, laBrownian, laWhirlpool, laWestWall, laHive, laClearing, laWhirlwind, laBlizzard, laBull, laTerracotta, laCrossroads5,
laEndorian, laDungeon, laMountain))
return lv::not_implemented;
if(among(l, laReptile, laDragon, laTortoise))
return lv::bad_graphics;
return *PIU(&land_validity(l));
if(prod) return *PIU(&land_validity(l));
}
#if !CAP_FIELD