* Set mana to 0 in addition to active power when character swaps talent specs.

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2009-08-17 09:56:42 +02:00
parent a96c31c95d
commit b043e5bd94

View File

@@ -21882,6 +21882,11 @@ void Player::ActivateSpec(uint8 spec)
}
UnsummonPetTemporaryIfAny();
SendActionButtons(1);
SetPower(getPowerType(), 0);
Powers pw = getPowerType();
if(pw != POWER_MANA)
SetPower(POWER_MANA, 0);
SetPower(pw, 0);
}