File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -1062,6 +1062,8 @@ namespace LuaWorldObject
10621062 if (player)
10631063#if ELUNA_EXPANSION == EXP_CATA
10641064 obj->PlayDirectSound (soundId, player);
1065+ #elif ELUNA_EXPANSION == EXP_TBC
1066+ obj->PlayDirectSound (soundId, PlayPacketParameters (PlayPacketSettings::TARGET, (Player const *)player));
10651067#else
10661068 obj->PlayDirectSound (soundId, PlayPacketParameters (PLAY_TARGET, (Player const *)player));
10671069#endif
@@ -1092,6 +1094,8 @@ namespace LuaWorldObject
10921094 if (player)
10931095#if ELUNA_EXPANSION == EXP_CATA
10941096 obj->PlayDistanceSound (soundId, player);
1097+ #elif ELUNA_EXPANSION == EXP_TBC
1098+ obj->PlayDistanceSound (soundId, PlayPacketParameters (PlayPacketSettings::TARGET, (Player const *)player));
10951099#else
10961100 obj->PlayDistanceSound (soundId, PlayPacketParameters (PLAY_TARGET, (Player const *)player));
10971101#endif
You can’t perform that action at this time.
0 commit comments