Skip to content

Commit f67dd9b

Browse files
committed
CMaNGOS: Update methods for core sync
1 parent c4e98f1 commit f67dd9b

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

methods/CMangos/WorldObjectMethods.h

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,10 +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));
10671065
#else
1068-
obj->PlayDirectSound(soundId, PlayPacketParameters(PLAY_TARGET, (Player const*)player));
1066+
obj->PlayDirectSound(soundId, PlayPacketParameters(PlayPacketSettings::TARGET, (Player const*)player));
10691067
#endif
10701068
else
10711069
obj->PlayDirectSound(soundId);
@@ -1094,10 +1092,8 @@ namespace LuaWorldObject
10941092
if (player)
10951093
#if ELUNA_EXPANSION == EXP_CATA
10961094
obj->PlayDistanceSound(soundId, player);
1097-
#elif ELUNA_EXPANSION == EXP_TBC
1098-
obj->PlayDistanceSound(soundId, PlayPacketParameters(PlayPacketSettings::TARGET, (Player const*)player));
10991095
#else
1100-
obj->PlayDistanceSound(soundId, PlayPacketParameters(PLAY_TARGET, (Player const*)player));
1096+
obj->PlayDistanceSound(soundId, PlayPacketParameters(PlayPacketSettings::TARGET, (Player const*)player));
11011097
#endif
11021098
else
11031099
obj->PlayDistanceSound(soundId);

0 commit comments

Comments
 (0)