diff options
author | n0n4m3 <none@none> | 2010-04-14 12:43:42 +0400 |
---|---|---|
committer | n0n4m3 <none@none> | 2010-04-14 12:43:42 +0400 |
commit | e3e5ca62270f010d5dbc2c160db22cbffa6dc94b (patch) | |
tree | a60290ce37faf031fbe705121e7efa446f77c846 /src/game/PlayerDump.cpp | |
parent | 61e71986f076f636619380da8e800f084b4465f5 (diff) |
Drop not needed table 'item_text', add new column 'text' in table 'item_instance'. Original patch by Vladimir.
--HG--
branch : trunk
Diffstat (limited to 'src/game/PlayerDump.cpp')
-rw-r--r-- | src/game/PlayerDump.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/game/PlayerDump.cpp b/src/game/PlayerDump.cpp index 3aceb1d1195..02a39c5ee8b 100644 --- a/src/game/PlayerDump.cpp +++ b/src/game/PlayerDump.cpp @@ -660,18 +660,6 @@ DumpReturn PlayerDumpReader::LoadDump(const std::string& file, uint32 account, s ROLLBACK(DUMP_FILE_BROKEN); break; } - case DTT_ITEM_TEXT: // item_text - { - // id - if (!changeGuid(line, 1, itemTexts, objmgr.m_ItemTextId)) - ROLLBACK(DUMP_FILE_BROKEN); - - // add it to cache - uint32 id= atoi(getnth(line,1).c_str()); - std::string text = getnth(line,2); - objmgr.AddItemText(id,text); - break; - } default: sLog.outError("Unknown dump table type: %u",type); break; |