1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-04 03:27:55 +00:00

Merge pull request #201 from jruderman/f9

haveMount: check specifically for worm-type monsters
This commit is contained in:
Zeno Rogue
2021-07-10 09:31:09 +02:00
committed by GitHub

View File

@@ -503,7 +503,7 @@ EX bool sameMonster(cell *c1, cell *c2) {
EX eMonster haveMount() {
for(cell *pc: player_positions()) {
eMonster m = pc->monst;
if(m) return m;
if(isWorm(m)) return m;
}
return moNone;
}