Core/Corpse: Fix indexing in Corpse::SaveToDB(). Thanks @Ciclop
This commit is contained in:
1 parent
ec54bb4895
commit
8d3bc5e8b9
1 file changed
+1
-1
@@ -108,7 +108,7 @@ void Corpse::SaveToDB()
|
||||
|
||||
uint16 index = 0;
|
||||
PreparedStatement* stmt = CharacterDatabase.GetPreparedStatement(CHAR_ADD_CORPSE);
|
||||
stmt->setUInt32(index, GetGUIDLow()); // corpseGuid
|
||||
stmt->setUInt32(index++, GetGUIDLow()); // corpseGuid
|
||||
stmt->setUInt32(index++, GUID_LOPART(GetOwnerGUID())); // guid
|
||||
stmt->setFloat (index++, GetPositionX()); // posX
|
||||
stmt->setFloat (index++, GetPositionY()); // posY
|
||||
|
||||
Reference in new issue
Block a user