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:
f143e26
)
* fix for broken water
author
Perttu Ahola
<celeron55@gmail.com>
Wed, 3 Aug 2011 17:00:25 +0000
(19:00 +0200)
committer
Nils Dagsson Moskopp
<nils@dieweltistgarnichtso.net>
Wed, 3 Aug 2011 17:00:25 +0000
(19:00 +0200)
src/map.cpp
patch
|
blob
|
history
diff --git
a/src/map.cpp
b/src/map.cpp
index 092ce97fdcf030cca3b60c8af40a9b09a0b6a0fe..d51aa46c1f890c6902190716bb37d30dc75801a4 100644
(file)
--- a/
src/map.cpp
+++ b/
src/map.cpp
@@
-1086,7
+1086,7
@@
void Map::addNodeAndUpdate(v3s16 p, MapNode n,
v3s16 p2 = p + dirs[i];
MapNode n2 = getNode(p2);
- if(content_liquid(n2.getContent()))
+ if(content_liquid(n2.getContent())
|| n2.getContent() == CONTENT_AIR
)
{
m_transforming_liquid.push_back(p2);
}
@@
-1260,7
+1260,7
@@
void Map::removeNodeAndUpdate(v3s16 p,
v3s16 p2 = p + dirs[i];
MapNode n2 = getNode(p2);
- if(content_liquid(n2.getContent()))
+ if(content_liquid(n2.getContent())
|| n2.getContent() == CONTENT_AIR
)
{
m_transforming_liquid.push_back(p2);
}