mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[11834] remove unneeded initialization, thx silverice
This commit is contained in:
parent
09e331767d
commit
6b1d74fd4b
2 changed files with 1 additions and 6 deletions
|
|
@ -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))
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "11833"
|
||||
#define REVISION_NR "11834"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue