*Fix a bug that DK does not have full talent points after leaving starting map. Thanks to MaXiMiUS

--HG--
branch : trunk
This commit is contained in:
megamage
2009-08-05 17:26:15 -05:00
parent e3e09cc86a
commit f03cd942cd
+1 -1
View File
@@ -20466,7 +20466,7 @@ uint32 Player::CalculateTalentsPoints() const
{
uint32 base_talent = getLevel() < 10 ? 0 : getLevel()-9;
if(getClass() != CLASS_DEATH_KNIGHT)
if(getClass() != CLASS_DEATH_KNIGHT || GetMapId() != 609)
return uint32(base_talent * sWorld.getRate(RATE_TALENT));
uint32 talentPointsForLevel = getLevel() < 56 ? 0 : getLevel() - 55;