mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[7820] Fixed typo in [7819] that not allow correct work non-scalling item stats.
This commit is contained in:
parent
167e8c86f6
commit
4edbdb02f6
2 changed files with 2 additions and 2 deletions
|
|
@ -6355,7 +6355,7 @@ void Player::_ApplyItemBonuses(ItemPrototype const *proto, uint8 slot, bool appl
|
|||
}
|
||||
else
|
||||
{
|
||||
if (proto->StatsCount >= i)
|
||||
if (i >= proto->StatsCount)
|
||||
continue;
|
||||
statType = proto->ItemStat[i].ItemStatType;
|
||||
val = proto->ItemStat[i].ItemStatValue;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "7819"
|
||||
#define REVISION_NR "7820"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue