fixed monster infighting due to treating monster as mounted

This commit is contained in:
Zeno Rogue 2018-03-08 20:23:46 +01:00
parent 23a2a98893
commit f8c83a694a
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ bool isFriendlyOrPlayer(eMonster m) {
}
bool isMounted(cell *c) {
if(c && c->monst && c->monst != moTentacleGhost) {
if(c && c->monst && c->monst != moTentacleGhost && isMountable(c->monst)) {
for(int i=0; i<numplayers(); i++) {
if(playerpos(i)->monst && sameMonster(c, playerpos(i)))
return true;