[11834] remove unneeded initialization, thx silverice

This commit is contained in:
Laise 2011-10-20 10:00:48 +02:00
parent 09e331767d
commit 6b1d74fd4b
2 changed files with 1 additions and 6 deletions

View file

@ -22949,11 +22949,6 @@ uint32 Player::GetEquipGearScore(bool withBags, bool withBank)
GearScoreVec gearScore (EQUIPMENT_SLOT_END); GearScoreVec gearScore (EQUIPMENT_SLOT_END);
uint32 twoHandScore = 0; 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) for (uint8 i = EQUIPMENT_SLOT_START; i < EQUIPMENT_SLOT_END; ++i)
{ {
if (Item* item = GetItemByPos(INVENTORY_SLOT_BAG_0, i)) if (Item* item = GetItemByPos(INVENTORY_SLOT_BAG_0, i))

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "11833" #define REVISION_NR "11834"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__