From 0af80ddc24fd9f6f879a23579b18af6388b50f27 Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期四, 25 四月 2019 15:16:10 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts

---
 System/WorldMap/LocalMapFindPath.cs |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/System/WorldMap/LocalMapFindPath.cs b/System/WorldMap/LocalMapFindPath.cs
index ef1fae6..4c09603 100644
--- a/System/WorldMap/LocalMapFindPath.cs
+++ b/System/WorldMap/LocalMapFindPath.cs
@@ -297,7 +297,10 @@
                 {
                     var config = mapnpcConfig.Get(item);
                     var npcConfig = NPCConfig.Get(config.NPCID);
-                    DrawFunctionNpc(item);
+                    if (npcConfig.Show != 0)
+                    {
+                        DrawFunctionNpc(item);
+                    }
                 }
             }
         }

--
Gitblit v1.8.0