[10897] Small typos in error message.

This commit is contained in:
VladimirMangos 2010-12-20 23:02:52 +03:00
parent add4ceb999
commit 1d84a8de1d
2 changed files with 3 additions and 3 deletions

View file

@ -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))

View file

@ -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__