From 0530c1dc690b6e4c671a1cc23f3646b07ef683f0 Mon Sep 17 00:00:00 2001 From: Jesse Ruderman Date: Fri, 9 Jul 2021 21:43:30 -0700 Subject: [PATCH] haveMount: check specifically for worm-type monsters --- game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game.cpp b/game.cpp index 29e9a4d3..819638d6 100644 --- a/game.cpp +++ b/game.cpp @@ -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; }