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

Remove attached sounds when the active object is removed (#14341)

This commit is contained in:
sfence
2024-02-25 23:10:39 +01:00
committed by GitHub
parent 39b1311a1b
commit 63a9853811
7 changed files with 44 additions and 12 deletions

View File

@@ -239,6 +239,7 @@ public:
s32 playSound(ServerPlayingSound &params, bool ephemeral=false);
void stopSound(s32 handle);
void fadeSound(s32 handle, float step, float gain);
void stopAttachedSounds(u16 id);
// Envlock
std::set<std::string> getPlayerEffectivePrivs(const std::string &name);