mirror of
https://github.com/minetest/minetest.git
synced 2024-11-30 11:33:44 +01:00
Fix lava damage on player's upper body
This commit is contained in:
parent
d00e8bd31a
commit
981c6c9bf2
@ -2169,7 +2169,7 @@ void ClientEnvironment::step(float dtime)
|
|||||||
v3s16 p2 = floatToInt(pf + v3f(0, BS*0.8, 0), BS);
|
v3s16 p2 = floatToInt(pf + v3f(0, BS*0.8, 0), BS);
|
||||||
MapNode n2 = m_map->getNodeNoEx(p2);
|
MapNode n2 = m_map->getNodeNoEx(p2);
|
||||||
v3s16 p3 = floatToInt(pf + v3f(0, BS*1.6, 0), BS);
|
v3s16 p3 = floatToInt(pf + v3f(0, BS*1.6, 0), BS);
|
||||||
MapNode n3 = m_map->getNodeNoEx(p2);
|
MapNode n3 = m_map->getNodeNoEx(p3);
|
||||||
|
|
||||||
u32 damage_per_second = 0;
|
u32 damage_per_second = 0;
|
||||||
damage_per_second = MYMAX(damage_per_second,
|
damage_per_second = MYMAX(damage_per_second,
|
||||||
|
Loading…
Reference in New Issue
Block a user