aboutsummaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorSmallJoker <mk939@ymail.com>2017-08-13 09:49:29 +0200
committerSmallJoker <mk939@ymail.com>2018-06-03 17:32:00 +0200
commitf9738c1909309ff311f604371d7d73abde753e1d (patch)
tree54fb251de0de4c194463cc0715315bb2fbdbaa96 /src/network
parent6f80e302fd093227dc864aa8c37b643c9e84b55e (diff)
downloadminetest-f9738c1909309ff311f604371d7d73abde753e1d.tar.gz
minetest-f9738c1909309ff311f604371d7d73abde753e1d.tar.bz2
minetest-f9738c1909309ff311f604371d7d73abde753e1d.zip
Damage: Remove damage ignore timer
Diffstat (limited to 'src/network')
-rw-r--r--src/network/clientpackethandler.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/network/clientpackethandler.cpp b/src/network/clientpackethandler.cpp
index 8935ed90c..0d4b792de 100644
--- a/src/network/clientpackethandler.cpp
+++ b/src/network/clientpackethandler.cpp
@@ -580,10 +580,6 @@ void Client::handleCommand_MovePlayer(NetworkPacket* pkt)
event.player_force_move.pitch = pitch;
event.player_force_move.yaw = yaw;
m_client_event_queue.push(event);
-
- // Ignore damage for a few seconds, so that the player doesn't
- // get damage from falling on ground
- m_ignore_damage_timer = 3.0;
}
void Client::handleCommand_DeathScreen(NetworkPacket* pkt)