mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-08 22:32:26 +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:
parent
8d30e4b8a6
commit
73c6a0bb1d
@ -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));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user