aboutsummaryrefslogtreecommitdiff
path: root/src/environment.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2010-12-13 03:19:12 +0200
committerPerttu Ahola <celeron55@gmail.com>2010-12-13 03:19:12 +0200
commit571fb14f9480a0fd70d7cfeb0484c9513153c33a (patch)
tree64601662d351d986fbadaef2c410c90a38241634 /src/environment.cpp
parent47a593b5197393d8f8cdfe18b1aa46b8bc1f3fb6 (diff)
downloadminetest-571fb14f9480a0fd70d7cfeb0484c9513153c33a.tar.gz
minetest-571fb14f9480a0fd70d7cfeb0484c9513153c33a.tar.bz2
minetest-571fb14f9480a0fd70d7cfeb0484c9513153c33a.zip
working nicely
Diffstat (limited to 'src/environment.cpp')
-rw-r--r--src/environment.cpp4
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