mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +00:00
[10429] some format string fixes
This commit is contained in:
parent
ef9793dcd4
commit
055c6b4184
3 changed files with 3 additions and 3 deletions
|
|
@ -1130,7 +1130,7 @@ void ObjectMgr::LoadCreatureModelRace()
|
||||||
if (raceData.creature_entry)
|
if (raceData.creature_entry)
|
||||||
{
|
{
|
||||||
if (raceData.modelid_racial)
|
if (raceData.modelid_racial)
|
||||||
sLog.outErrorDb("Table `creature_model_race` modelid %u has modelid_racial for modelid %u but a creature_entry are already defined, modelid_racial will never be used.", raceData.modelid);
|
sLog.outErrorDb("Table `creature_model_race` modelid %u has modelid_racial for modelid %u but a creature_entry are already defined, modelid_racial will never be used.", raceData.modelid, raceData.modelid_racial);
|
||||||
|
|
||||||
if (!sCreatureStorage.LookupEntry<CreatureInfo>(raceData.creature_entry))
|
if (!sCreatureStorage.LookupEntry<CreatureInfo>(raceData.creature_entry))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -112,7 +112,7 @@ bool ChatHandler::GetDeletedCharacterInfoList(DeletedInfoList& foundList, std::s
|
||||||
{
|
{
|
||||||
// search by GUID
|
// search by GUID
|
||||||
if (isNumeric(searchString))
|
if (isNumeric(searchString))
|
||||||
resultChar = CharacterDatabase.PQuery("SELECT guid, deleteInfos_Name, deleteInfos_Account, deleteDate FROM characters WHERE deleteDate IS NOT NULL AND guid = %u", uint64(atoi(searchString.c_str())));
|
resultChar = CharacterDatabase.PQuery("SELECT guid, deleteInfos_Name, deleteInfos_Account, deleteDate FROM characters WHERE deleteDate IS NOT NULL AND guid = " UI64FMTD, uint64(atoi(searchString.c_str())));
|
||||||
// search by name
|
// search by name
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "10428"
|
#define REVISION_NR "10429"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue