1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-28 20:37:40 +00:00

arb:: tes files with tree data provided work again

This commit is contained in:
Zeno Rogue
2022-06-23 10:36:37 +02:00
parent c544ce5ed0
commit 1b832b4a54
2 changed files with 5 additions and 1 deletions

View File

@@ -72,7 +72,7 @@ EX bool warped_version(eLand l1, eLand l2) {
}
EX int get_valence(cellwalker bb, int dir, bool& ok) {
if(arb::in()) {
if(arb::in() && arb::current_or_slided().have_valence) {
auto& sh = arb::current_or_slided().shapes[arb::id_of(bb.at->master)];
if(bb.mirrored) dir = -dir;
if(dir == 1)