aboutsummaryrefslogtreecommitdiff
path: root/src/game/GuildHandler.cpp
diff options
context:
space:
mode:
authormaximius <none@none>2009-11-20 22:38:01 -0800
committermaximius <none@none>2009-11-20 22:38:01 -0800
commitc16e08faed38c214a88d824d55b1a6a7fca06037 (patch)
treea1a1c1ae9312ede169351795d27ec3504f997b17 /src/game/GuildHandler.cpp
parent75e37c7599925019d3061d0c067ccdf6ebf6e224 (diff)
*Cleanup, search through the talent map instead of spell chains for talent ranks during spec swaps.
Also properly set talent state upon talent reset, and only reset talents that exist in the active spec. Refs #367, #326 --HG-- branch : trunk
Diffstat (limited to 'src/game/GuildHandler.cpp')
-rw-r--r--src/game/GuildHandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/GuildHandler.cpp b/src/game/GuildHandler.cpp
index f15a75256ee..80f5d124e94 100644
--- a/src/game/GuildHandler.cpp
+++ b/src/game/GuildHandler.cpp
@@ -1133,7 +1133,7 @@ void WorldSession::HandleGuildBankSwapItems( WorldPacket & recv_data )
// Player <-> Bank
// allow work with inventory only
- if(!Player::IsInventoryPos(PlayerBag,PlayerSlot) && !(PlayerBag == NULL_BAG && PlayerSlot == NULL_SLOT) )
+ if(!Player::IsInventoryPos(PlayerBag,PlayerSlot) && !(PlayerBag == NULL_BAG && PlayerSlot == NULL_SLOT))
{
_player->SendEquipError( EQUIP_ERR_NONE, NULL, NULL );
return;