mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 01:20:37 +00:00
no more product-invalid lands generated
This commit is contained in:
parent
63656212e6
commit
b978031443
@ -679,13 +679,13 @@ EX land_validity_t& land_validity(eLand l) {
|
|||||||
|
|
||||||
using namespace lv;
|
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,
|
if(among(l, laPrincessQuest, laPrairie, laMirrorOld, laMirror, laDual, laWarpCoast, laKraken, laBrownian, laWhirlpool, laWestWall, laHive, laClearing, laWhirlwind, laBlizzard, laBull, laTerracotta, laCrossroads5,
|
||||||
laEndorian, laDungeon, laMountain))
|
laEndorian, laDungeon, laMountain))
|
||||||
return lv::not_implemented;
|
return lv::not_implemented;
|
||||||
if(among(l, laReptile, laDragon, laTortoise))
|
if(among(l, laReptile, laDragon, laTortoise))
|
||||||
return lv::bad_graphics;
|
return lv::bad_graphics;
|
||||||
return *PIU(&land_validity(l));
|
if(prod) return *PIU(&land_validity(l));
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !CAP_FIELD
|
#if !CAP_FIELD
|
||||||
|
Loading…
Reference in New Issue
Block a user