aboutsummaryrefslogtreecommitdiff
path: root/src/particles.cpp
diff options
context:
space:
mode:
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 10b9811bb..b86266f42 100644
--- a/src/particles.cpp
+++ b/src/particles.cpp
@@ -631,7 +631,7 @@ void ParticleManager::addNodeParticle(IGameDef* gamedef,
// Only use first frame of animated texture
if (tile.material_flags & MATERIAL_FLAG_ANIMATION)
- texture = tile.frames[0].texture;
+ texture = (*tile.frames)[0].texture;
else
texture = tile.texture;