From 73c6a0bb1db576e45ad9a325cd674200f7d96f59 Mon Sep 17 00:00:00 2001 From: KimLS Date: Sat, 24 Jan 2015 12:01:42 -0800 Subject: [PATCH] Fix for bug with usage of IsOrigin, bug from when i was just doing glm::dot(pos, pos) == 0 --- zone/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/client.cpp b/zone/client.cpp index bb9380137..d5fcf3b71 100644 --- a/zone/client.cpp +++ b/zone/client.cpp @@ -4760,7 +4760,7 @@ void Client::SummonAndRezzAllCorpses() void Client::SummonAllCorpses(const glm::vec4& position) { auto summonLocation = position; - if(IsOrigin(position) == 0 && position.w == 0.0f) + if(IsOrigin(position) && position.w == 0.0f) summonLocation = GetPosition(); ServerPacket *Pack = new ServerPacket(ServerOP_DepopAllPlayersCorpses, sizeof(ServerDepopAllPlayersCorpses_Struct));