summaryrefslogtreecommitdiff
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 e1f292fb6..7f406d874 100644
--- a/src/particles.cpp
+++ b/src/particles.cpp
@@ -620,7 +620,7 @@ void ParticleManager::addNodeParticle(IGameDef* gamedef,
{
// Texture
u8 texid = myrand_range(0, 5);
- const TileSpec &tile = f.tiles[texid];
+ const TileLayer &tile = f.tiles[texid].layers[0];
video::ITexture *texture;
struct TileAnimationParams anim;
anim.type = TAT_NONE;