mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[10897] Small typos in error message.
This commit is contained in:
parent
add4ceb999
commit
1d84a8de1d
2 changed files with 3 additions and 3 deletions
|
|
@ -1026,7 +1026,7 @@ void ObjectMgr::LoadCreatureModelInfo()
|
||||||
{
|
{
|
||||||
if (minfo->modelid_other_gender == minfo->modelid)
|
if (minfo->modelid_other_gender == minfo->modelid)
|
||||||
{
|
{
|
||||||
sLog.outErrorDb("Table `creature_model_info` has redundent modelid_other_gender model (%u) defined for model id %u.", minfo->modelid_other_gender, minfo->modelid);
|
sLog.outErrorDb("Table `creature_model_info` has redundant modelid_other_gender model (%u) defined for model id %u.", minfo->modelid_other_gender, minfo->modelid);
|
||||||
const_cast<CreatureModelInfo*>(minfo)->modelid_other_gender = 0;
|
const_cast<CreatureModelInfo*>(minfo)->modelid_other_gender = 0;
|
||||||
}
|
}
|
||||||
else if (!sCreatureDisplayInfoStore.LookupEntry(minfo->modelid_other_gender))
|
else if (!sCreatureDisplayInfoStore.LookupEntry(minfo->modelid_other_gender))
|
||||||
|
|
@ -1040,7 +1040,7 @@ void ObjectMgr::LoadCreatureModelInfo()
|
||||||
{
|
{
|
||||||
if (minfo->modelid_alternative == minfo->modelid)
|
if (minfo->modelid_alternative == minfo->modelid)
|
||||||
{
|
{
|
||||||
sLog.outErrorDb("Table `creature_model_info` has redundent modelid_alternative model (%u) defined for model id %u.", minfo->modelid_alternative, minfo->modelid);
|
sLog.outErrorDb("Table `creature_model_info` has redundant modelid_alternative model (%u) defined for model id %u.", minfo->modelid_alternative, minfo->modelid);
|
||||||
const_cast<CreatureModelInfo*>(minfo)->modelid_alternative = 0;
|
const_cast<CreatureModelInfo*>(minfo)->modelid_alternative = 0;
|
||||||
}
|
}
|
||||||
else if (!sCreatureDisplayInfoStore.LookupEntry(minfo->modelid_alternative))
|
else if (!sCreatureDisplayInfoStore.LookupEntry(minfo->modelid_alternative))
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "10896"
|
#define REVISION_NR "10897"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue