瀏覽代碼

missed file.

JIV 15 年之前
父節點
當前提交
4ba1525a1d
共有 1 個文件被更改,包括 8 次插入1 次删除
  1. 8 1
      L2_GameServer/java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java

+ 8 - 1
L2_GameServer/java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java

@@ -1915,7 +1915,14 @@ public final class L2PcInstance extends L2Playable
         if (Config.ALLOW_WATER)
             checkWaterState();
 
-        if (isInsideZone(ZONE_SIEGE))
+        if (isInsideZone(ZONE_DANGERAREA))
+        {
+        	if (_lastCompassZone == ExSetCompassZoneCode.ALTEREDZONE) return;
+        	_lastCompassZone = ExSetCompassZoneCode.ALTEREDZONE;
+        	ExSetCompassZoneCode cz = new ExSetCompassZoneCode(ExSetCompassZoneCode.ALTEREDZONE);
+        	sendPacket(cz);
+        }
+        else if (isInsideZone(ZONE_SIEGE))
         {
         	if (_lastCompassZone == ExSetCompassZoneCode.SIEGEWARZONE2) return;
         	_lastCompassZone = ExSetCompassZoneCode.SIEGEWARZONE2;