mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-20 02:54:05 +00:00
fixed monster infighting due to treating monster as mounted
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user