mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 00:55:20 +02:00
@@ -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;
|
||||
|
Reference in New Issue
Block a user