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

ls:: fixed dragons not appearing in hv

This commit is contained in:
Zeno Rogue 2023-09-22 12:18:09 +02:00
parent 70b7e24e96
commit 7b3532a594

View File

@ -1051,7 +1051,8 @@ EX void giantLandSwitch(cell *c, int d, cell *from) {
createMov(c2, i); createMov(c2, i);
int j = c2->c.spin(i); int j = c2->c.spin(i);
cell *c3 = c2->move(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 = c3;
c2->monst = moDragonTail; c2->monst = moDragonTail;
c2->hitpoints = 1; c2->hitpoints = 1;