mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +00:00
[7240] Fix logfile spam from AchievementMgr.
Log AchievementMgr::SendAchievementEarned only in debug. Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
parent
5e2553ff7e
commit
c9eacd7a23
2 changed files with 2 additions and 2 deletions
|
|
@ -274,7 +274,7 @@ void AchievementMgr::LoadFromDB(QueryResult *achievementResult, QueryResult *cri
|
||||||
|
|
||||||
void AchievementMgr::SendAchievementEarned(AchievementEntry const* achievement)
|
void AchievementMgr::SendAchievementEarned(AchievementEntry const* achievement)
|
||||||
{
|
{
|
||||||
sLog.outString("AchievementMgr::SendAchievementEarned(%u)", achievement->ID);
|
sLog.outDebug("AchievementMgr::SendAchievementEarned(%u)", achievement->ID);
|
||||||
|
|
||||||
const char *msg = "|Hplayer:$N|h[$N]|h has earned the achievement $a!";
|
const char *msg = "|Hplayer:$N|h[$N]|h has earned the achievement $a!";
|
||||||
if(Guild* guild = objmgr.GetGuildById(GetPlayer()->GetGuildId()))
|
if(Guild* guild = objmgr.GetGuildById(GetPlayer()->GetGuildId()))
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7239"
|
#define REVISION_NR "7240"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue