mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[8810] error output at loading when creature_movement has nonexistant spell
This commit is contained in:
parent
ec808c9d3d
commit
25ab89ce97
2 changed files with 7 additions and 1 deletions
|
|
@ -141,6 +141,12 @@ void WaypointManager::Load()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (be.spell && ! sSpellStore.LookupEntry(be.spell))
|
||||||
|
{
|
||||||
|
sLog.outErrorDb("Table creature_movement references unknown spellid %u. Skipping id %u.", be.spell, id);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if (be.emote)
|
if (be.emote)
|
||||||
{
|
{
|
||||||
if (!sEmotesStore.LookupEntry(be.emote))
|
if (!sEmotesStore.LookupEntry(be.emote))
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "8809"
|
#define REVISION_NR "8810"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue