From 7b3532a594304c1e71595c8b5e85226ed54166f7 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 22 Sep 2023 12:18:09 +0200 Subject: [PATCH] ls:: fixed dragons not appearing in hv --- landgen.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/landgen.cpp b/landgen.cpp index 988ba434..15374b4b 100644 --- a/landgen.cpp +++ b/landgen.cpp @@ -1051,7 +1051,8 @@ EX void giantLandSwitch(cell *c, int d, cell *from) { createMov(c2, i); int j = c2->c.spin(i); cell *c3 = c2->move(i); - if(c3->monst || c3->bardir != NODIR || c3->wall || c3->mpdist <= 7) break; + setdist(c3, 9, c2); + if(c3->monst || (ls::hv_structure() ? c3->land != laDragon : c3->bardir != NODIR) || c3->wall || c3->mpdist <= 7) break; c2 = c3; c2->monst = moDragonTail; c2->hitpoints = 1;