mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
parent
03ff53e16b
commit
ff73c7a5da
10 changed files with 68 additions and 54 deletions
|
@ -2098,7 +2098,7 @@ s32 Server::playSound(const SimpleSoundSpec &spec,
|
|||
NetworkPacket pkt(TOCLIENT_PLAY_SOUND, 0);
|
||||
pkt << id << spec.name << gain
|
||||
<< (u8) params.type << pos << params.object
|
||||
<< params.loop << params.fade;
|
||||
<< params.loop << params.fade << params.pitch;
|
||||
|
||||
// Backwards compability
|
||||
bool play_sound = gain > 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue