瀏覽代碼

Additional heading, thanks janiii.

_DS_ 16 年之前
父節點
當前提交
65fb386976
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      L2_GameServer/java/net/sf/l2j/gameserver/model/actor/L2Character.java

+ 1 - 1
L2_GameServer/java/net/sf/l2j/gameserver/model/actor/L2Character.java

@@ -675,7 +675,7 @@ public abstract class L2Character extends L2Object
 			y = newCoords[1];
 			z = newCoords[2];
 		}
-		teleToLocation(x, y, z, 0, allowRandomOffset);
+		teleToLocation(x, y, z, getHeading(), allowRandomOffset);
 	}
 
 	public void teleToLocation(TeleportWhereType teleportWhere) { teleToLocation(MapRegionTable.getInstance().getTeleToLocation(this, teleportWhere), true); }