mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[12169] Fix some problems detected by static code analysis
This commit is contained in:
parent
62118e099e
commit
b8b907c138
4 changed files with 6 additions and 5 deletions
|
|
@ -4780,7 +4780,7 @@ void ObjectMgr::LoadInstanceTemplate()
|
|||
if (!parentEntry)
|
||||
{
|
||||
sLog.outErrorDb("ObjectMgr::LoadInstanceTemplate: bad parent map id %u for instance template %d template!",
|
||||
parentEntry->MapID, temp->map);
|
||||
temp->parent, temp->map);
|
||||
const_cast<InstanceTemplate*>(temp)->parent = 0;
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue