mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Sound refactor and improvements (#12764)
This commit is contained in:
parent
8e1af25738
commit
edcbfa31c9
52 changed files with 2802 additions and 1211 deletions
|
@ -2231,7 +2231,7 @@ s32 Server::playSound(ServerPlayingSound ¶ms, bool ephemeral)
|
|||
pkt << id << params.spec.name << gain
|
||||
<< (u8) params.type << pos << params.object
|
||||
<< params.spec.loop << params.spec.fade << params.spec.pitch
|
||||
<< ephemeral;
|
||||
<< ephemeral << params.spec.start_time;
|
||||
|
||||
bool as_reliable = !ephemeral;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue