haveMount: check specifically for worm-type monsters

This commit is contained in:
Jesse Ruderman 2021-07-09 21:43:30 -07:00
parent 4799f7c5f7
commit 0530c1dc69
1 changed files with 1 additions and 1 deletions

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;
}