mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-05 04:13:52 +00:00
simplified SummonAllCorpses
This commit is contained in:
parent
ad506ece4d
commit
7c211e1e11
@ -4945,7 +4945,7 @@ void Client::SummonAndRezzAllCorpses()
|
||||
void Client::SummonAllCorpses(const xyz_heading& position)
|
||||
{
|
||||
auto summonLocation = position;
|
||||
if(position.m_X == 0.0f && position.m_Y == 0.0f && position.m_Z == 0.0f && position.m_Heading == 0.0f)
|
||||
if(position.isOrigin() && position.m_Heading == 0.0f)
|
||||
summonLocation = GetPosition();
|
||||
|
||||
ServerPacket *Pack = new ServerPacket(ServerOP_DepopAllPlayersCorpses, sizeof(ServerDepopAllPlayersCorpses_Struct));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user