diff options
author | sfan5 <sfan5@live.de> | 2017-01-14 16:48:49 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2017-01-18 23:21:01 +0100 |
commit | 7279f0b37335396c85f6bdd7dc67ff56e53df0f9 (patch) | |
tree | be0ee716cf8bc6e5379415a663db91b8a358c8ab /src/nodedef.cpp | |
parent | c5967f75f0a9827d1b65b384edd6ba07c73ffd2f (diff) | |
download | minetest-7279f0b37335396c85f6bdd7dc67ff56e53df0f9.tar.gz minetest-7279f0b37335396c85f6bdd7dc67ff56e53df0f9.tar.bz2 minetest-7279f0b37335396c85f6bdd7dc67ff56e53df0f9.zip |
Add particle animation, glow
This is implemented by reusing and extending the
TileAnimation code for the methods used by particles.
Diffstat (limited to 'src/nodedef.cpp')
-rw-r--r-- | src/nodedef.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nodedef.cpp b/src/nodedef.cpp index b7d023897..a4af26e87 100644 --- a/src/nodedef.cpp +++ b/src/nodedef.cpp @@ -541,7 +541,7 @@ void ContentFeatures::fillTileAttribs(ITextureSource *tsrc, TileSpec *tile, if (tile->material_flags & MATERIAL_FLAG_ANIMATION) { int frame_length_ms; tiledef->animation.determineParams(tile->texture->getOriginalSize(), - &frame_count, &frame_length_ms); + &frame_count, &frame_length_ms, NULL); tile->animation_frame_count = frame_count; tile->animation_frame_length_ms = frame_length_ms; } |