From 7c211e1e1150d521082d558ac621cdb61cd83e26 Mon Sep 17 00:00:00 2001 From: Arthur Ice Date: Tue, 2 Dec 2014 19:29:43 -0800 Subject: [PATCH] simplified SummonAllCorpses --- zone/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/client.cpp b/zone/client.cpp index 4bde10bc0..826e22b00 100644 --- a/zone/client.cpp +++ b/zone/client.cpp @@ -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));