projects
/
oweals
/
minetest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add cancel button to password change menu. (#5720)
[oweals/minetest.git]
/
src
/
particles.cpp
diff --git
a/src/particles.cpp
b/src/particles.cpp
index e1f292fb60cf567cb7270a90d8a576fd160cf8c3..7f406d874eb2a26030a3c3029e10d30bf661444e 100644
(file)
--- 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 Tile
Spec &tile = f.tiles[texid
];
+ const Tile
Layer &tile = f.tiles[texid].layers[0
];
video::ITexture *texture;
struct TileAnimationParams anim;
anim.type = TAT_NONE;