diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-08-10 22:26:28 +0200 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-08-10 22:26:28 +0200 |
commit | 07103ed9d7af1c37623d6c8c96ec5084938c244b (patch) | |
tree | bd61f53cab3658196b8caa2fd22be0b08123cd99 | |
parent | Fixed potential crash in Player.cpp (diff) | |
download | cuberite-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 |
-rw-r--r-- | src/Entities/Player.cpp | 2 |
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 } |