diff options
author | megamage <none@none> | 2009-08-05 16:04:08 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-08-05 16:04:08 -0500 |
commit | 49e127727b962e94960b61ff7c097f3d705f2707 (patch) | |
tree | c301c6e1686c29211b31902e9cb55fb4f701c4ed /src | |
parent | 47e36000cb85e63c809c9e256554f3b39f574756 (diff) |
[8305] Fixed item loading from pdumps. Author: hunuza
This resolve problems with marking all items as readble.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/PlayerDump.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/PlayerDump.cpp b/src/game/PlayerDump.cpp index 2187614d368..06550269856 100644 --- a/src/game/PlayerDump.cpp +++ b/src/game/PlayerDump.cpp @@ -583,7 +583,7 @@ DumpReturn PlayerDumpReader::LoadDump(const std::string& file, uint32 account, s ROLLBACK(DUMP_FILE_BROKEN); if(!changetoknth(vals, ITEM_FIELD_OWNER+1, newguid)) ROLLBACK(DUMP_FILE_BROKEN); - if(!changetokGuid(vals, ITEM_FIELD_ITEM_TEXT_ID+1, itemTexts, objmgr.m_ItemTextId)) + if(!changetokGuid(vals, ITEM_FIELD_ITEM_TEXT_ID+1, itemTexts, objmgr.m_ItemTextId,true)) ROLLBACK(DUMP_FILE_BROKEN); if(!changenth(line, 3, vals.c_str())) ROLLBACK(DUMP_FILE_BROKEN); |