mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 00:46:46 +00:00
simplified SummonAllCorpses
This commit is contained in:
+1
-1
@@ -4945,7 +4945,7 @@ void Client::SummonAndRezzAllCorpses()
|
|||||||
void Client::SummonAllCorpses(const xyz_heading& position)
|
void Client::SummonAllCorpses(const xyz_heading& position)
|
||||||
{
|
{
|
||||||
auto summonLocation = 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();
|
summonLocation = GetPosition();
|
||||||
|
|
||||||
ServerPacket *Pack = new ServerPacket(ServerOP_DepopAllPlayersCorpses, sizeof(ServerDepopAllPlayersCorpses_Struct));
|
ServerPacket *Pack = new ServerPacket(ServerOP_DepopAllPlayersCorpses, sizeof(ServerDepopAllPlayersCorpses_Struct));
|
||||||
|
|||||||
Reference in New Issue
Block a user