Skip to content

Commit

Permalink
Fix lava damage on player's upper body
Browse files Browse the repository at this point in the history
  • Loading branch information
kwolekr committed May 20, 2013
1 parent d00e8bd commit 981c6c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/environment.cpp
Expand Up @@ -2169,7 +2169,7 @@ void ClientEnvironment::step(float dtime)
v3s16 p2 = floatToInt(pf + v3f(0, BS*0.8, 0), BS);
MapNode n2 = m_map->getNodeNoEx(p2);
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;
damage_per_second = MYMAX(damage_per_second,
Expand Down

0 comments on commit 981c6c9

Please sign in to comment.