From f03cd942cdb1b5075734aef7aff20e2f2738cecf Mon Sep 17 00:00:00 2001 From: megamage Date: Wed, 5 Aug 2009 17:26:15 -0500 Subject: *Fix a bug that DK does not have full talent points after leaving starting map. Thanks to MaXiMiUS --HG-- branch : trunk --- src/game/Player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 54441fa1a16..5957ba101c1 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -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; -- cgit v1.2.3