mirror of
https://github.com/mangosfour/server.git
synced 2025-12-19 22:37:05 +00:00
[11254] Really load item text at login.
This fix problem when item with text created but not read before logout after logout not show text. In most cases this is mail text copied to inventry. Client cache text in WDB so if open before logout then item "show" text. If you have items created before this fix with like problem you need clear WDB cache for fix text show for item.
This commit is contained in:
parent
d8b71eade1
commit
7196d81679
2 changed files with 3 additions and 1 deletions
|
|
@ -389,6 +389,8 @@ bool Item::LoadFromDB(uint32 guidLow, Field *fields, ObjectGuid ownerGuid)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SetText(fields[1].GetCppString());
|
||||||
|
|
||||||
bool need_save = false; // need explicit save data at load fixes
|
bool need_save = false; // need explicit save data at load fixes
|
||||||
|
|
||||||
// overwrite possible wrong/corrupted guid
|
// overwrite possible wrong/corrupted guid
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "11253"
|
#define REVISION_NR "11254"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue