mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +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 (!sEmotesStore.LookupEntry(be.emote))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue