diff options
| author | n0n4m3 <none@none> | 2010-04-11 11:11:32 +0400 |
|---|---|---|
| committer | n0n4m3 <none@none> | 2010-04-11 11:11:32 +0400 |
| commit | 8db7c06e6b16728eca499d29bb136980d714313b (patch) | |
| tree | a06f96173df6f3f23aa2c5a51effa1fd69bd3dcd /src/game/Item.cpp | |
| parent | 36e13c1d1c615d89c1e18add73411c0525ecbf08 (diff) | |
Fix Auth on server also some fixes and cleanups. Big thx to TOM_RUS.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Item.cpp')
| -rw-r--r-- | src/game/Item.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Item.cpp b/src/game/Item.cpp index 76f1e3363c0..8a20fa91973 100644 --- a/src/game/Item.cpp +++ b/src/game/Item.cpp @@ -330,8 +330,8 @@ void Item::SaveToDB() }break; case ITEM_REMOVED: { - if (GetUInt32Value(ITEM_FIELD_ITEM_TEXT_ID) > 0) - CharacterDatabase.PExecute("DELETE FROM item_text WHERE id = '%u'", GetUInt32Value(ITEM_FIELD_ITEM_TEXT_ID)); + //if (GetUInt32Value(ITEM_FIELD_ITEM_TEXT_ID) > 0) + // CharacterDatabase.PExecute("DELETE FROM item_text WHERE id = '%u'", GetUInt32Value(ITEM_FIELD_ITEM_TEXT_ID)); CharacterDatabase.PExecute("DELETE FROM item_instance WHERE guid = '%u'", guid); if (HasFlag(ITEM_FIELD_FLAGS, ITEM_FLAGS_WRAPPED)) CharacterDatabase.PExecute("DELETE FROM character_gifts WHERE item_guid = '%u'", GetGUIDLow()); |
