Convert some C style casts to new functions
--HG-- branch : trunk
This commit is contained in:
1 parent
02a9cd6a43
commit
e1542df90c
10 files changed
+51
-60
No files matched your search
+1
-1
@@ -1572,7 +1572,7 @@ bool Pet::resetTalents(bool no_cost)
|
||||
if (!pet_family || pet_family->petTalentType < 0)
|
||||
return false;
|
||||
|
||||
Player *player = (Player *)owner;
|
||||
Player *player = owner->ToPlayer();
|
||||
|
||||
uint8 level = getLevel();
|
||||
uint32 talentPointsForLevel = GetMaxTalentPointsForLevel(level);
|
||||
|
||||
Reference in new issue
Block a user