aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/SetEntityMotionPacket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/SetEntityMotionPacket.cpp')
-rw-r--r--Minecraft.World/SetEntityMotionPacket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/SetEntityMotionPacket.cpp b/Minecraft.World/SetEntityMotionPacket.cpp
index 49dd7d6b..1c2d362c 100644
--- a/Minecraft.World/SetEntityMotionPacket.cpp
+++ b/Minecraft.World/SetEntityMotionPacket.cpp
@@ -108,6 +108,6 @@ bool SetEntityMotionPacket::canBeInvalidated()
bool SetEntityMotionPacket::isInvalidatedBy(std::shared_ptr<Packet> packet)
{
- std::shared_ptr<SetEntityMotionPacket> target = dynamic_pointer_cast<SetEntityMotionPacket>(packet);
+ std::shared_ptr<SetEntityMotionPacket> target = std::dynamic_pointer_cast<SetEntityMotionPacket>(packet);
return target->id == id;
}