mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Improve core.sound_play with ephemeral sounds and player exclusion
This commit is contained in:
parent
ea5e231959
commit
ace3c76112
9 changed files with 78 additions and 29 deletions
|
@ -1106,7 +1106,7 @@ void Client::sendRemovedSounds(std::vector<s32> &soundList)
|
|||
|
||||
pkt << (u16) (server_ids & 0xFFFF);
|
||||
|
||||
for (int sound_id : soundList)
|
||||
for (s32 sound_id : soundList)
|
||||
pkt << sound_id;
|
||||
|
||||
Send(&pkt);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue