mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +00:00
[11340] Type in Spell::DoSummon error message
This commit is contained in:
parent
c60bee7173
commit
6f74cf8994
2 changed files with 2 additions and 2 deletions
|
|
@ -4544,7 +4544,7 @@ void Spell::DoSummon(SpellEffectIndex eff_idx)
|
||||||
uint32 pet_number = sObjectMgr.GeneratePetNumber();
|
uint32 pet_number = sObjectMgr.GeneratePetNumber();
|
||||||
if (!spawnCreature->Create(map->GenerateLocalLowGuid(HIGHGUID_PET), pos, cInfo, pet_number))
|
if (!spawnCreature->Create(map->GenerateLocalLowGuid(HIGHGUID_PET), pos, cInfo, pet_number))
|
||||||
{
|
{
|
||||||
sLog.outErrorDb("Spell::EffectSummon: can't create creature with entry %u for spell %u", cInfo->equipmentId, m_spellInfo->Id);
|
sLog.outErrorDb("Spell::EffectSummon: can't create creature with entry %u for spell %u", cInfo->Entry, m_spellInfo->Id);
|
||||||
delete spawnCreature;
|
delete spawnCreature;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "11339"
|
#define REVISION_NR "11340"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue