projects
/
oweals
/
minetest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Modernize client code (#6250)
[oweals/minetest.git]
/
src
/
particles.cpp
diff --git
a/src/particles.cpp
b/src/particles.cpp
index 10b9811bb4aea98ae38f0f00d913327f0dc2e7e6..b86266f42fdb631cd86c5874a79fa85eab6ae951 100644
(file)
--- 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;