mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
working nicely
This commit is contained in:
parent
47a593b519
commit
571fb14f94
20 changed files with 938 additions and 396 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue