Fixed staff RMB, bug in ranged weapon code

This commit is contained in:
Joshua Barretto
2020-07-06 23:37:44 +01:00
parent 30619771af
commit f77d2f06c6
5 changed files with 21 additions and 15 deletions

View File

@ -44,9 +44,7 @@ impl Alignment {
// TODO: Remove this hack
pub fn is_friendly_to_players(&self) -> bool {
match self {
Alignment::Npc
| Alignment::Tame
| Alignment::Owned(_) => true,
Alignment::Npc | Alignment::Tame | Alignment::Owned(_) => true,
_ => false,
}
}