diff options
author | tartalo <none@none> | 2009-11-01 00:07:18 +0100 |
---|---|---|
committer | tartalo <none@none> | 2009-11-01 00:07:18 +0100 |
commit | 846a3b8aafdd7f8a9cb20bb6f7b5d1b940da48f6 (patch) | |
tree | e69b9c28ea2a75ef6704a9a5fdd16d59df24236a /src/game/Object.cpp | |
parent | ea5237bffdcaf09bc2c7a2fd391fab0ca25f5460 (diff) | |
parent | 743578b81f297734162785fe2e2daa32eb5d8aad (diff) |
Merge
--HG--
branch : trunk
Diffstat (limited to 'src/game/Object.cpp')
-rw-r--r-- | src/game/Object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Object.cpp b/src/game/Object.cpp index 132d1c3e03b..0a571d67dc0 100644 --- a/src/game/Object.cpp +++ b/src/game/Object.cpp @@ -1468,7 +1468,7 @@ void WorldObject::SendPlaySound(uint32 Sound, bool OnlySelf) { WorldPacket data(SMSG_PLAY_SOUND, 4); data << Sound; - if (OnlySelf && GetTypeId() == TYPEID_PLAYER ) + if (OnlySelf && GetTypeId() == TYPEID_PLAYER) ((Player*)this)->GetSession()->SendPacket( &data ); else SendMessageToSet( &data, true ); // ToSelf ignored in this case |