aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/IndirectEntityDamageSource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/IndirectEntityDamageSource.cpp')
-rw-r--r--Minecraft.World/IndirectEntityDamageSource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/IndirectEntityDamageSource.cpp b/Minecraft.World/IndirectEntityDamageSource.cpp
index 009af37e..63640dc5 100644
--- a/Minecraft.World/IndirectEntityDamageSource.cpp
+++ b/Minecraft.World/IndirectEntityDamageSource.cpp
@@ -36,7 +36,7 @@ std::shared_ptr<ChatPacket> IndirectEntityDamageSource::getDeathMessagePacket(st
type = owner->GetType();
if(type == eTYPE_SERVERPLAYER)
{
- std::shared_ptr<Player> sourcePlayer = dynamic_pointer_cast<Player>(owner);
+ std::shared_ptr<Player> sourcePlayer = std::dynamic_pointer_cast<Player>(owner);
if(sourcePlayer != NULL) additional = sourcePlayer->name;
}
}