diff options
author | Perttu Ahola <celeron55@gmail.com> | 2010-12-13 03:19:12 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2010-12-13 03:19:12 +0200 |
commit | 571fb14f9480a0fd70d7cfeb0484c9513153c33a (patch) | |
tree | 64601662d351d986fbadaef2c410c90a38241634 /src/environment.cpp | |
parent | 47a593b5197393d8f8cdfe18b1aa46b8bc1f3fb6 (diff) | |
download | minetest-571fb14f9480a0fd70d7cfeb0484c9513153c33a.tar.gz minetest-571fb14f9480a0fd70d7cfeb0484c9513153c33a.tar.bz2 minetest-571fb14f9480a0fd70d7cfeb0484c9513153c33a.zip |
working nicely
Diffstat (limited to 'src/environment.cpp')
-rw-r--r-- | src/environment.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/environment.cpp b/src/environment.cpp index 2d7590f1a..1f4223b23 100644 --- a/src/environment.cpp +++ b/src/environment.cpp @@ -142,9 +142,9 @@ void Environment::step(float dtime) v3s16 bottompos = floatToInt(playerpos + v3f(0,-BS/4,0)); try{ MapNode n = m_map->getNode(bottompos); - if(n.d == MATERIAL_GRASS) + if(n.d == CONTENT_GRASS) { - n.d = MATERIAL_GRASS_FOOTSTEPS; + n.d = CONTENT_GRASS_FOOTSTEPS; m_map->setNode(bottompos, n); // Update mesh on client |