From f61166c2bf5233b3cf2fe62aa900214e40eaf50c Mon Sep 17 00:00:00 2001 From: zergtmn Date: Thu, 23 Dec 2010 23:31:22 +0500 Subject: [PATCH] [10911] Fix GCC warning --- src/game/ObjectMgr.cpp | 2 +- src/shared/revision_nr.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp index 58da1861c..ade2d4ddc 100644 --- a/src/game/ObjectMgr.cpp +++ b/src/game/ObjectMgr.cpp @@ -8926,7 +8926,7 @@ void ObjectMgr::LoadTrainers(char const* tableName, bool isTemplates) { if (tSpells->spellList.find(spell) != tSpells->spellList.end()) { - sLog.outErrorDb("Table `%s` for trainer (Entry: %u) has spell %u listed in trainer template %u, ignore", tableName, entry, spell); + sLog.outErrorDb("Table `%s` for trainer (Entry: %u) has spell %u listed in trainer template %u, ignore", tableName, entry, spell, cInfo->trainerId); continue; } } diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 4a59b274f..7ee1cf738 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "10910" + #define REVISION_NR "10911" #endif // __REVISION_NR_H__