Fixed saving new items to database, thx GMKretol for spotting the typo

--HG--
branch : trunk
This commit is contained in:
Shauren
2010-07-30 16:01:43 +02:00
parent d666ba26c1
commit 350864de80
+2 -2
View File
@@ -334,8 +334,8 @@ void Item::SaveToDB()
ss << "'," << GetItemRandomPropertyId() << ","; ss << "'," << GetItemRandomPropertyId() << ",";
ss << GetUInt32Value(ITEM_FIELD_DURABILITY) << ","; ss << GetUInt32Value(ITEM_FIELD_DURABILITY) << ",";
ss << GetUInt32Value(ITEM_FIELD_CREATE_PLAYED_TIME) << ","; ss << GetUInt32Value(ITEM_FIELD_CREATE_PLAYED_TIME) << ",'";
ss << ",'" << text << "')"; ss << text << "')";
CharacterDatabase.Execute(ss.str().c_str()); CharacterDatabase.Execute(ss.str().c_str());
}break; }break;