mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Corpses: Misc fixes
* Updated corpse flags * Fixed corpse guid during creation * Properly set corpse faction * Fixed setting weapon inventory types if transmogrified * Fixed corpse location query response when corpse cannot be found
This commit is contained in:
@@ -173,6 +173,7 @@ void WorldSession::HandleQueryCorpseLocation(WorldPackets::Query::QueryCorpseLoc
|
||||
{
|
||||
WorldPackets::Query::CorpseLocation packet;
|
||||
packet.Valid = false; // corpse not found
|
||||
packet.Player = queryCorpseLocation.Player;
|
||||
SendPacket(packet.Write());
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user