Core: Droped faction_H field -- only one faction table is necessary
This commit is contained in:
1 parent
a1e8cad703
commit
c536305e3a
14 files changed
+139
-156
No files matched your search
@@ -597,8 +597,7 @@ public:
|
||||
// Update in memory..
|
||||
if (CreatureTemplate const* cinfo = creature->GetCreatureTemplate())
|
||||
{
|
||||
const_cast<CreatureTemplate*>(cinfo)->faction_A = factionId;
|
||||
const_cast<CreatureTemplate*>(cinfo)->faction_H = factionId;
|
||||
const_cast<CreatureTemplate*>(cinfo)->faction = factionId;
|
||||
}
|
||||
|
||||
// ..and DB
|
||||
|
||||
Reference in new issue
Block a user