Skip to content

Commit

Permalink
fix(Core/GitRevision): switсh to GitRevision from _HASH and _DATE
Browse files Browse the repository at this point in the history
ref #17
  • Loading branch information
Winfidonarleyan committed Jul 4, 2020
1 parent 1a0c72e commit e9c0e2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/game/Entities/Player/Player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15725,8 +15725,8 @@ void Player::AddQuest(Quest const* quest, Object* questGiver)
PreparedStatement* stmt = CharacterDatabase.GetPreparedStatement(CHAR_INS_QUEST_TRACK);
stmt->setUInt32(0, quest_id);
stmt->setUInt32(1, GetGUIDLow());
stmt->setString(2, _HASH);
stmt->setString(3, _DATE);
stmt->setString(2, GitRevision::GetHash());
stmt->setString(3, GitRevision::GetDate());

// add to Quest Tracker
CharacterDatabase.Execute(stmt);
Expand Down

0 comments on commit e9c0e2f

Please sign in to comment.