projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d00e8bd
)
Fix lava damage on player's upper body
author
kwolekr
<kwolekr@minetest.net>
Mon, 20 May 2013 01:29:49 +0000
(21:29 -0400)
committer
kwolekr
<kwolekr@minetest.net>
Mon, 20 May 2013 01:29:49 +0000
(21:29 -0400)
src/environment.cpp
patch
|
blob
|
history
diff --git
a/src/environment.cpp
b/src/environment.cpp
index 03b8ef7f69dc320fc16624f7e02138482890cb9c..9f87b8c919b60817538a0489618bd2b9a483e8f4 100644
(file)
--- a/
src/environment.cpp
+++ b/
src/environment.cpp
@@
-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(p
2
);
+ MapNode n3 = m_map->getNodeNoEx(p
3
);
u32 damage_per_second = 0;
damage_per_second = MYMAX(damage_per_second,