From c5a1b1eb5f845f72b0b3e48fc8c7ccf75cee5831 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期二, 09 十月 2018 10:30:32 +0800
Subject: [PATCH] Merge branch 'master' into 3687天赋功能

---
 System/WorldMap/MapModel.cs |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/System/WorldMap/MapModel.cs b/System/WorldMap/MapModel.cs
index c030045..803fc2b 100644
--- a/System/WorldMap/MapModel.cs
+++ b/System/WorldMap/MapModel.cs
@@ -293,6 +293,21 @@
             return null;
         }
 
+        public bool CanOpenLocalMapWin(int mapId)
+        {
+            var mapResConfig = DTCA127_tagMCStartChangeMap.GetMapResourcesConfig();
+            var config = Config.Instance.Get<MapConfig>(mapId);
+            if (string.IsNullOrEmpty(mapResConfig.BigMap)
+                || mapId == FairyLeagueModel.FAIRY_LEAGUE_DUNGEON)
+            {
+                return false;
+            }
+            else
+            {
+                return true;
+            }
+        }
+
         public int GetRecommendHangPoint(int _mapId)
         {
             var eventPoints = new List<int>(GetMapEventPoints(_mapId));

--
Gitblit v1.8.0