mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 07:37:03 +00:00
[11621] Fixed broken DB update when item updated in DB at loading for some reason.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
1ffde196ce
commit
f1a969d6c7
2 changed files with 2 additions and 2 deletions
|
|
@ -502,7 +502,7 @@ bool Item::LoadFromDB(uint32 guidLow, Field* fields, ObjectGuid ownerGuid)
|
||||||
|
|
||||||
std::ostringstream ss;
|
std::ostringstream ss;
|
||||||
for (uint16 i = 0; i < m_valuesCount; ++i)
|
for (uint16 i = 0; i < m_valuesCount; ++i)
|
||||||
ss << GetUInt32Value(i) << "";
|
ss << GetUInt32Value(i) << " ";
|
||||||
|
|
||||||
stmt.addString(ss);
|
stmt.addString(ss);
|
||||||
stmt.addUInt32(GetOwnerGuid().GetCounter());
|
stmt.addUInt32(GetOwnerGuid().GetCounter());
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "11620"
|
#define REVISION_NR "11621"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue