aboutsummaryrefslogtreecommitdiff
path: root/src/network/clientpackethandler.cpp
diff options
context:
space:
mode:
authorSmallJoker <mk939@ymail.com>2017-08-13 09:49:29 +0200
committerparamat <mat.gregory@virginmedia.com>2017-12-10 14:23:45 +0000
commit03caa1e31902d99d60ad3c015c681a3fee679638 (patch)
treeae2e3d161d5600183468a5771c7c9ae9d313b8f5 /src/network/clientpackethandler.cpp
parentd677f292cc9fcb61078cb258761049c1fa4a424b (diff)
downloadminetest-03caa1e31902d99d60ad3c015c681a3fee679638.tar.gz
minetest-03caa1e31902d99d60ad3c015c681a3fee679638.tar.bz2
minetest-03caa1e31902d99d60ad3c015c681a3fee679638.zip
Damage: Remove damage ignore timer
Diffstat (limited to 'src/network/clientpackethandler.cpp')
-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 b5e2203c8..5de99418e 100644
--- a/src/network/clientpackethandler.cpp
+++ b/src/network/clientpackethandler.cpp
@@ -573,10 +573,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)