1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-14 00:55:20 +02:00

working nicely

This commit is contained in:
Perttu Ahola
2010-12-13 03:19:12 +02:00
parent 47a593b519
commit 571fb14f94
20 changed files with 938 additions and 396 deletions

View File

@@ -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;
}