Skip to content

Commit

Permalink
[11340] Type in Spell::DoSummon error message
Browse files Browse the repository at this point in the history
  • Loading branch information
VladimirMangos committed Apr 12, 2011
1 parent 5651510 commit 54a3076
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/game/SpellEffects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4544,7 +4544,7 @@ void Spell::DoSummon(SpellEffectIndex eff_idx)
uint32 pet_number = sObjectMgr.GeneratePetNumber();
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;
return;
}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "11339"
#define REVISION_NR "11340"
#endif // __REVISION_NR_H__

0 comments on commit 54a3076

Please sign in to comment.