1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-14 17:15:21 +02:00

Fix new texture properties not being sent for minetest.add_particle (#14760)

Co-authored-by: Lars Müller <appgurulars@gmx.de>
This commit is contained in:
grorp
2024-07-01 20:41:54 +02:00
committed by GitHub
parent 95e77bd7cb
commit ea827e4c5d
3 changed files with 20 additions and 7 deletions

View File

@@ -276,8 +276,10 @@ struct ParticleTexture
struct ServerParticleTexture : public ParticleTexture
{
std::string string;
void serialize(std::ostream &os, u16 protocol_ver, bool newPropertiesOnly = false) const;
void deSerialize(std::istream &is, u16 protocol_ver, bool newPropertiesOnly = false);
void serialize(std::ostream &os, u16 protocol_ver, bool newPropertiesOnly = false,
bool skipAnimation = false) const;
void deSerialize(std::istream &is, u16 protocol_ver, bool newPropertiesOnly = false,
bool skipAnimation = false);
};
struct CommonParticleParams