diff options
author | Daniel Schadt <kingdread@gmx.de> | 2018-04-23 15:26:02 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2018-04-23 15:26:02 +0200 |
commit | 4d4c6b6690d8ee1abff68d87fc6d0d0469412101 (patch) | |
tree | 359f0c0d337b6c1ad5e11e21818bdc1a4979b8fb /src/raw/types.rs | |
parent | 1a465ee75229d1268f20f2739ba29c4f84f70e7f (diff) | |
download | evtclib-4d4c6b6690d8ee1abff68d87fc6d0d0469412101.tar.gz evtclib-4d4c6b6690d8ee1abff68d87fc6d0d0469412101.tar.bz2 evtclib-4d4c6b6690d8ee1abff68d87fc6d0d0469412101.zip |
apply clippy's suggestions
Diffstat (limited to 'src/raw/types.rs')
-rw-r--r-- | src/raw/types.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/raw/types.rs b/src/raw/types.rs index f616398..9096a32 100644 --- a/src/raw/types.rs +++ b/src/raw/types.rs @@ -240,7 +240,7 @@ impl Agent { /// Gadgets are entities spawned by some skills, like the "Binding Roots" /// spawned by Entangle. pub fn is_gadget(&self) -> bool { - self.is_elite == std::u32::MAX && (self.prof & 0xffff0000) == 0xffff0000 + self.is_elite == std::u32::MAX && (self.prof & 0xffff_0000) == 0xffff_0000 } /// Checks whether this agent is a character. @@ -248,7 +248,7 @@ impl Agent { /// Characters are entities like clones, pets, minions, spirits, but also /// minis. pub fn is_character(&self) -> bool { - self.is_elite == std::u32::MAX && (self.prof & 0xffff0000) != 0xffff0000 + self.is_elite == std::u32::MAX && (self.prof & 0xffff_0000) != 0xffff_0000 } /// Checks whether this agent is a player. |