Migrate objects and pets [skip ci]

This commit is contained in:
Akkadius
2020-03-12 01:47:40 -05:00
parent a37260fec5
commit b22d8f6148
4 changed files with 24 additions and 24 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ void Mob::TemporaryPets(uint16 spell_id, Mob *targ, const char *name_override, u
}
PetRecord record;
if (!database.GetPoweredPetEntry(spells[spell_id].teleport_zone, act_power, &record))
if (!content_db.GetPoweredPetEntry(spells[spell_id].teleport_zone, act_power, &record))
{
LogError("Unknown swarm pet spell id: {}, check pets table", spell_id);
Message(Chat::Red, "Unable to find data for pet %s", spells[spell_id].teleport_zone);