mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[11331] Fixed equipment set save.
This resolve problem with wrong equipment set name show after relog but only for new saved equipment sets. Old sets still have wrong names.
This commit is contained in:
parent
cd32dd9bfc
commit
16c562b7a0
2 changed files with 2 additions and 2 deletions
|
|
@ -22429,8 +22429,8 @@ void Player::_SaveEquipmentSets()
|
||||||
"item5=?, item6=?, item7=?, item8=?, item9=?, item10=?, item11=?, item12=?, item13=?, item14=?, "
|
"item5=?, item6=?, item7=?, item8=?, item9=?, item10=?, item11=?, item12=?, item13=?, item14=?, "
|
||||||
"item15=?, item16=?, item17=?, item18=? WHERE guid=? AND setguid=? AND setindex=?");
|
"item15=?, item16=?, item17=?, item18=? WHERE guid=? AND setguid=? AND setindex=?");
|
||||||
|
|
||||||
stmt.addString(eqset.IconName);
|
|
||||||
stmt.addString(eqset.Name);
|
stmt.addString(eqset.Name);
|
||||||
|
stmt.addString(eqset.IconName);
|
||||||
|
|
||||||
for (int i = 0; i < EQUIPMENT_SLOT_END; ++i)
|
for (int i = 0; i < EQUIPMENT_SLOT_END; ++i)
|
||||||
stmt.addUInt32(eqset.Items[i]);
|
stmt.addUInt32(eqset.Items[i]);
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "11330"
|
#define REVISION_NR "11331"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue