From 7affa3580efbd0cf6b015c5d75e92c1dc12bd942 Mon Sep 17 00:00:00 2001 From: Vinolentus <655ff4c91d8e57f5@gmail.com> Date: Tue, 18 Oct 2011 14:51:18 +0400 Subject: [PATCH] remove trailing whitespace after 11831 --- src/game/Player.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/game/Player.cpp b/src/game/Player.cpp index be291ddde..610694eb4 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -23028,13 +23028,13 @@ uint32 Player::GetEquipGearScore(bool withBags, bool withBank) { uint32 res = uint32(sum / count); DEBUG_LOG("Player: calculating gear score for %u. Result is %u", GetObjectGuid().GetCounter(), res); - + if (withBags && withBank) m_cachedGS = res; - + return res; } - else + else return 0; } @@ -23101,7 +23101,7 @@ void Player::_fillGearScoreData(Item* item, GearScoreVec* gearScore, uint32& two break; // equipped gear score check uses both rings and trinkets for calculation, assume that for bags/banks it is the same // with keeping second highest score at second slot - case INVTYPE_FINGER: + case INVTYPE_FINGER: { if ((*gearScore)[EQUIPMENT_SLOT_FINGER1] < level) {