Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Core/Player: Initialize m_WeeklyQuestChanged
Fixes:

==8111== Conditional jump or move depends on uninitialised value(s)
==8111==    at 0xFB7AD2: Player::_SaveWeeklyQuestStatus(Trinity::AutoPtr<Transaction, ACE_Thread_Mutex>&) (Player.cpp:19352)
  • Loading branch information
Machiavell1 committed Mar 28, 2012
1 parent 63c4d2b commit c3db19b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/server/game/Entities/Player/Player.cpp
Expand Up @@ -858,6 +858,8 @@ Player::Player(WorldSession* session): Unit(true), m_achievementMgr(this), m_rep

isDebugAreaTriggers = false;

m_WeeklyQuestChanged = false;

SetPendingBind(0, 0);
}

Expand Down

0 comments on commit c3db19b

Please sign in to comment.