mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Add 2D sheet animation for nodes
This commit is contained in:
@@ -570,7 +570,7 @@ void ParticleManager::addNodeParticle(IGameDef* gamedef, scene::ISceneManager* s
|
||||
video::ITexture *texture;
|
||||
|
||||
// Only use first frame of animated texture
|
||||
if(tiles[texid].material_flags & MATERIAL_FLAG_ANIMATION)
|
||||
if (tiles[texid].material_flags & MATERIAL_FLAG_ANIMATION)
|
||||
texture = tiles[texid].frames[0].texture;
|
||||
else
|
||||
texture = tiles[texid].texture;
|
||||
|
Reference in New Issue
Block a user