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/mapblockobject.cpp | |
parent | 47a593b5197393d8f8cdfe18b1aa46b8bc1f3fb6 (diff) | |
download | minetest-571fb14f9480a0fd70d7cfeb0484c9513153c33a.tar.gz minetest-571fb14f9480a0fd70d7cfeb0484c9513153c33a.tar.bz2 minetest-571fb14f9480a0fd70d7cfeb0484c9513153c33a.zip |
working nicely
Diffstat (limited to 'src/mapblockobject.cpp')
-rw-r--r-- | src/mapblockobject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapblockobject.cpp b/src/mapblockobject.cpp index 3a28e2250..cd12feb0c 100644 --- a/src/mapblockobject.cpp +++ b/src/mapblockobject.cpp @@ -145,7 +145,7 @@ void MovingObject::move(float dtime, v3f acceleration) for(s16 x = oldpos_i.X - 1; x <= oldpos_i.X + 1; x++) { try{ - if(material_walkable(m_block->getNodeParent(v3s16(x,y,z)).d) + if(content_walkable(m_block->getNodeParent(v3s16(x,y,z)).d) == false) continue; } |