瀏覽代碼

Address signs on the ground, apparently some do not count as widgets

Emagi 4 月之前
父節點
當前提交
89daa29e97
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      EQ2/source/WorldServer/Spawn.cpp

+ 1 - 1
EQ2/source/WorldServer/Spawn.cpp

@@ -2159,7 +2159,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() && !(IsFlyingCreature() || IsWaterCreature() || InWater())) {
+			if(!IsWidget() && !IsSign() && !(IsFlyingCreature() || IsWaterCreature() || InWater())) {
 				result_y = new_y;
 			}
 			if(GetMap() != player->GetMap()) {