1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-05-09 16:42:06 +00:00

fixed Vine Spirits sometimes considering some halfvine-related moves illegal

This commit is contained in:
Zeno Rogue
2026-04-17 17:42:11 +02:00
parent 3cf234d202
commit a8a75fd0ca
3 changed files with 9 additions and 15 deletions
+5
View File
@@ -413,4 +413,9 @@ EX bool looks_like_player(eMonster m) {
return among(m, moPlayer, moMimic, moIllusion, moShadow);
}
EX int halfvine_direction(cell *c) {
for(int t=0; t<c->type; t++) if(c->move(t) && c->move(t)->wall == c->wall) return t;
return -1;
}
}