projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b1420a
)
Dont remove grass under unloaded blocks
author
PilzAdam
<PilzAdam@gmx.de>
Sun, 20 Jan 2013 15:21:09 +0000
(16:21 +0100)
committer
PilzAdam
<PilzAdam@gmx.de>
Sun, 10 Feb 2013 11:52:59 +0000
(12:52 +0100)
src/content_abm.cpp
patch
|
blob
|
history
diff --git
a/src/content_abm.cpp
b/src/content_abm.cpp
index 9e65a7ab0a5c12c772a88754c14575abe7a482bc..ce1751117630d7b84488dde3dc93d84595fe17a2 100644
(file)
--- a/
src/content_abm.cpp
+++ b/
src/content_abm.cpp
@@
-80,7
+80,8
@@
public:
ServerMap *map = &env->getServerMap();
MapNode n_top = map->getNodeNoEx(p+v3s16(0,1,0));
- if(!ndef->get(n_top).light_propagates ||
+ if((!ndef->get(n_top).light_propagates &&
+ n_top.getContent() != CONTENT_IGNORE) ||
ndef->get(n_top).isLiquid())
{
n.setContent(ndef->getId("mapgen_dirt"));