mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-28 13:27:15 +00:00
Fix for bug with usage of IsOrigin, bug from when i was just doing glm::dot(pos, pos) == 0
This commit is contained in:
+1
-1
@@ -4760,7 +4760,7 @@ void Client::SummonAndRezzAllCorpses()
|
|||||||
void Client::SummonAllCorpses(const glm::vec4& position)
|
void Client::SummonAllCorpses(const glm::vec4& position)
|
||||||
{
|
{
|
||||||
auto summonLocation = position;
|
auto summonLocation = position;
|
||||||
if(IsOrigin(position) == 0 && position.w == 0.0f)
|
if(IsOrigin(position) && position.w == 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