aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormaximius <none@none>2009-08-15 18:21:04 -0700
committermaximius <none@none>2009-08-15 18:21:04 -0700
commit71c69e3460c3a5f62aaa739955342ce57072c529 (patch)
tree2311851d55327479e9c649bb6b0773c43252e0ab /src
parent61ed8f90dfb7ebc0d3f57595acfa1429b2d4048d (diff)
*Remove offhand after switching specs if the player can no longer equip that item (ie: Titan's Grip)
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Player.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index 8f29ec0a0a7..ac99affadcc 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -21860,6 +21860,7 @@ void Player::ActivateSpec(uint8 spec)
_LoadActions(result);
}
UnsummonPetTemporaryIfAny();
+ AutoUnequipOffhandIfNeed();
SendActionButtons(1);
SetPower(getPowerType(), 0);
}