summaryrefslogtreecommitdiffstats
path: root/src/Entities/Player.cpp
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-08-10 22:26:28 +0200
committerTycho <work.tycho+git@gmail.com>2014-08-10 22:26:28 +0200
commit07103ed9d7af1c37623d6c8c96ec5084938c244b (patch)
treebd61f53cab3658196b8caa2fd22be0b08123cd99 /src/Entities/Player.cpp
parentFixed potential crash in Player.cpp (diff)
downloadcuberite-07103ed9d7af1c37623d6c8c96ec5084938c244b.tar
cuberite-07103ed9d7af1c37623d6c8c96ec5084938c244b.tar.gz
cuberite-07103ed9d7af1c37623d6c8c96ec5084938c244b.tar.bz2
cuberite-07103ed9d7af1c37623d6c8c96ec5084938c244b.tar.lz
cuberite-07103ed9d7af1c37623d6c8c96ec5084938c244b.tar.xz
cuberite-07103ed9d7af1c37623d6c8c96ec5084938c244b.tar.zst
cuberite-07103ed9d7af1c37623d6c8c96ec5084938c244b.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/Player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp
index 8667344c7..608316e9a 100644
--- a/src/Entities/Player.cpp
+++ b/src/Entities/Player.cpp
@@ -906,7 +906,7 @@ void cPlayer::KilledBy(TakeDamageInfo & a_TDI)
}
GetWorld()->BroadcastChatDeath(Printf("%s %s", GetName().c_str(), DamageText.c_str()));
}
- else if (a_TDI.Attacker == NULL) // && !m_World->ShouldBroadcastDeathMessages() by fallthrough
+ else if (a_TDI.Attacker == NULL) // && !m_World->ShouldBroadcastDeathMessages() by fallthrough
{
// no-op
}