From 29e2c18ab8995be2025693771d87986a97714f11 Mon Sep 17 00:00:00 2001 From: Emagi Date: Tue, 6 Aug 2024 12:46:35 -0400 Subject: [PATCH] omit objects from ground y --- source/WorldServer/Spawn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/WorldServer/Spawn.cpp b/source/WorldServer/Spawn.cpp index a38898f..d5afd03 100644 --- a/source/WorldServer/Spawn.cpp +++ b/source/WorldServer/Spawn.cpp @@ -2167,7 +2167,7 @@ void Spawn::InitializePosPacketData(Player* player, PacketStruct* packet, bool b else { packet->setDataByName("pos_x", appearance.pos.X); float result_y = appearance.pos.Y; - if(!IsWidget() && !IsSign() && !(IsFlyingCreature() || IsWaterCreature() || InWater())) { + if(!IsWidget() && !IsSign() && !IsObject() && !(IsFlyingCreature() || IsWaterCreature() || InWater())) { result_y = new_y; } if(GetMap() != player->GetMap()) {