mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-20 23:54:49 +00:00
Merge pull request #464 from josephcsible/isfriendlyghost
Remove unused function isFriendlyGhost
This commit is contained in:
@@ -262,10 +262,6 @@ EX bool haveRangedOrb() {
|
||||
items[itOrbMorph] || items[itOrbPhasing];
|
||||
}
|
||||
|
||||
EX bool isFriendlyGhost(eMonster m) {
|
||||
return m == moFriendlyGhost || (markEmpathy(itOrbAether) && isFriendly(m));
|
||||
}
|
||||
|
||||
EX bool isGhostAether(eMonster m) {
|
||||
return isGhost(m) || checkOrb(m, itOrbAether);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user