소스 검색

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()) {