diff options
Diffstat (limited to 'src/game/Player.h')
-rw-r--r-- | src/game/Player.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Player.h b/src/game/Player.h index 0578553b83b..29e279ec7bd 100644 --- a/src/game/Player.h +++ b/src/game/Player.h @@ -1344,7 +1344,7 @@ class Player : public Unit, public GridObject<Player> { uint64 val = GetUInt64Value(PLAYER_QUEST_LOG_1_1 + slot * MAX_QUEST_OFFSET + QUEST_COUNTS_OFFSET); val &= ~((uint64)0xFFFF << (counter * 16)); - val |= ((uint64)count << (counter * 16)); + val |= ((uint64)count << (counter * 16)); SetUInt64Value(PLAYER_QUEST_LOG_1_1 + slot * MAX_QUEST_OFFSET + QUEST_COUNTS_OFFSET, val); } void SetQuestSlotState(uint16 slot, uint32 state) { SetFlag(PLAYER_QUEST_LOG_1_1 + slot * MAX_QUEST_OFFSET + QUEST_STATE_OFFSET, state); } |