From 6b1d74fd4bbb443c3bee0c27ef1deb09555dde28 Mon Sep 17 00:00:00 2001 From: Laise Date: Thu, 20 Oct 2011 10:00:48 +0200 Subject: [PATCH] [11834] remove unneeded initialization, thx silverice --- src/game/Player.cpp | 5 ----- src/shared/revision_nr.h | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 610694eb4..4dc56063b 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -22949,11 +22949,6 @@ uint32 Player::GetEquipGearScore(bool withBags, bool withBank) GearScoreVec gearScore (EQUIPMENT_SLOT_END); uint32 twoHandScore = 0; - for (uint8 i = EQUIPMENT_SLOT_START; i < EQUIPMENT_SLOT_END; ++i) - { - gearScore[i] = 0; - } - for (uint8 i = EQUIPMENT_SLOT_START; i < EQUIPMENT_SLOT_END; ++i) { if (Item* item = GetItemByPos(INVENTORY_SLOT_BAG_0, i)) diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 3cc1ea4f1..088c1bafb 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "11833" + #define REVISION_NR "11834" #endif // __REVISION_NR_H__