diff options
author | kwolekr <kwolekr@minetest.net> | 2015-07-10 15:58:32 -0400 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2015-07-10 15:58:57 -0400 |
commit | 1a1774a1051790ef85b1bd8b047ac45a3676b5d6 (patch) | |
tree | b5e0083230d80960f43c7eed3ea5787e92976ae1 /src/server.h | |
parent | 8eb272cea38325f963c521ecfa7b927a563f8509 (diff) | |
download | minetest-1a1774a1051790ef85b1bd8b047ac45a3676b5d6.tar.gz minetest-1a1774a1051790ef85b1bd8b047ac45a3676b5d6.tar.bz2 minetest-1a1774a1051790ef85b1bd8b047ac45a3676b5d6.zip |
Fix damage flash when damage disabled
Diffstat (limited to 'src/server.h')
-rw-r--r-- | src/server.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server.h b/src/server.h index 877109a77..fbca05f26 100644 --- a/src/server.h +++ b/src/server.h @@ -374,7 +374,7 @@ public: u8* ser_vers, u16* prot_vers, u8* major, u8* minor, u8* patch, std::string* vers_string); - void SendPlayerHPOrDie(u16 peer_id, bool die) { die ? DiePlayer(peer_id) : SendPlayerHP(peer_id); } + void SendPlayerHPOrDie(PlayerSAO *player); void SendPlayerBreath(u16 peer_id); void SendInventory(PlayerSAO* playerSAO); void SendMovePlayer(u16 peer_id); |