Core/Misc: camelize GetFaction/SetFaction properly
This commit is contained in:
1 parent
0245a73ff6
commit
c015a5cf10
122 files changed
+353
-353
No files matched your search
@@ -98,7 +98,7 @@ public:
|
||||
creatureTarget->SetHealth(0); // just for nice GM-mode view
|
||||
|
||||
pet->SetGuidValue(UNIT_FIELD_CREATEDBY, player->GetGUID());
|
||||
pet->SetUInt32Value(UNIT_FIELD_FACTIONTEMPLATE, player->getFaction());
|
||||
pet->SetFaction(player->GetFaction());
|
||||
|
||||
if (!pet->InitStatsForLevel(creatureTarget->getLevel()))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user