diff options
author | sfan5 <sfan5@live.de> | 2020-01-25 21:19:29 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2020-02-01 20:31:41 +0100 |
commit | ace3c76112a839aaad34f4343cd924412310bbd3 (patch) | |
tree | 6efeeb3537314a3cf8594f1a8f80eb28523ccad9 /src/client/client.cpp | |
parent | ea5e231959365622607c8bfd953f6d96ec54a394 (diff) | |
download | minetest-ace3c76112a839aaad34f4343cd924412310bbd3.tar.gz minetest-ace3c76112a839aaad34f4343cd924412310bbd3.tar.bz2 minetest-ace3c76112a839aaad34f4343cd924412310bbd3.zip |
Improve core.sound_play with ephemeral sounds and player exclusion
Diffstat (limited to 'src/client/client.cpp')
-rw-r--r-- | src/client/client.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/client.cpp b/src/client/client.cpp index 94b483802..6016f940e 100644 --- a/src/client/client.cpp +++ b/src/client/client.cpp @@ -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); |