diff options
Diffstat (limited to 'Minecraft.World/SetHealthPacket.cpp')
| -rw-r--r-- | Minecraft.World/SetHealthPacket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/SetHealthPacket.cpp b/Minecraft.World/SetHealthPacket.cpp index 639cacd8..4557f7bb 100644 --- a/Minecraft.World/SetHealthPacket.cpp +++ b/Minecraft.World/SetHealthPacket.cpp @@ -32,7 +32,7 @@ void SetHealthPacket::read(DataInputStream *dis) //throws IOException saturation = dis->readFloat(); // exhaustion = dis.readFloat(); - damageSource = (ETelemetryChallenges)dis->readByte(); + damageSource = static_cast<ETelemetryChallenges>(dis->readByte()); } void SetHealthPacket::write(DataOutputStream *dos) //throws IOException |
