diff options
author | maximius <none@none> | 2009-10-31 16:00:47 -0700 |
---|---|---|
committer | maximius <none@none> | 2009-10-31 16:00:47 -0700 |
commit | 743578b81f297734162785fe2e2daa32eb5d8aad (patch) | |
tree | 077059ac516c9cbf404ea69aacf39b488e24637d /src/game/Object.cpp | |
parent | f5696bcca519a64c9d2ef3fcc365a52ead99e03b (diff) |
*Reinit the iterator in each loop as the iter is removed from the list, in AuctionHouseObject::Update, by Trazom
*No longer disregard z/o in Map::CreatureRelocation, thanks Sisif
*Cleanup, and make Divine Storm default to m_caster is no unitTarget is available
*Some mtmaps optimization
--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 |