From 92f1d486de0d064d7066120f1f6814e3c39dbf6d Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期四, 11 五月 2023 12:56:19 +0800
Subject: [PATCH] 地图重置(重置地图占位信息)

---
 src/main/java/com/zy/common/utils/NavigateUtils.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/zy/common/utils/NavigateUtils.java b/src/main/java/com/zy/common/utils/NavigateUtils.java
index 306a049..a0aab42 100644
--- a/src/main/java/com/zy/common/utils/NavigateUtils.java
+++ b/src/main/java/com/zy/common/utils/NavigateUtils.java
@@ -26,7 +26,7 @@
         start.setFather(null);
 
         NavigateNode end = new NavigateNode(endArr[0], endArr[1]);
-        NavigateSolution solution = new NavigateSolution(mapType);
+        NavigateSolution solution = new NavigateSolution(mapType, lev);
         NavigateNode res_node = solution.astarSearch(start, end);
         if (res_node == null) {
             System.out.println("鏈壘鍒拌矾寰�");

--
Gitblit v1.9.1