summaryrefslogtreecommitdiff
path: root/src/particles.cpp
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2016-12-23 14:43:56 +0100
committersfan5 <sfan5@live.de>2017-01-02 15:28:06 +0100
commita07b032245bef76a7695e139a9daca7cb646a73d (patch)
treeb1c5117b19f8a00c396b75bef11925927b082995 /src/particles.cpp
parent7057c196c442ff3484b53f48d940f4c9e0ffe23a (diff)
downloadminetest-a07b032245bef76a7695e139a9daca7cb646a73d.tar.gz
minetest-a07b032245bef76a7695e139a9daca7cb646a73d.tar.bz2
minetest-a07b032245bef76a7695e139a9daca7cb646a73d.zip
Add 2D sheet animation for nodes
Diffstat (limited to 'src/particles.cpp')
-rw-r--r--src/particles.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/particles.cpp b/src/particles.cpp
index e9ddba986..97f42e2c4 100644
--- a/src/particles.cpp
+++ b/src/particles.cpp
@@ -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;