From a4cc7c497333356c340a08debcbc7c240145708f Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期三, 29 八月 2018 15:43:41 +0800
Subject: [PATCH] 2960 抢Boss活动(修改线路id判断)
---
System/WorldMap/MapModel.cs | 18 ------------------
1 files changed, 0 insertions(+), 18 deletions(-)
diff --git a/System/WorldMap/MapModel.cs b/System/WorldMap/MapModel.cs
index 4d9e41b..5118ce7 100644
--- a/System/WorldMap/MapModel.cs
+++ b/System/WorldMap/MapModel.cs
@@ -187,29 +187,11 @@
{
if (mapLines.ContainsKey(_mapId))
{
- //List<MapLine> _mapLines = new List<MapLine>(mapLines[_mapId]);
- //CheckSpecialLines(_mapLines);
return mapLines[_mapId];
}
else
{
return null;
- }
- }
-
- void CheckSpecialLines(List<MapLine> list)
- {
- var lineId = 0;
- if (fairyGrabBossModel.TryGetFairyGrabBossLine(out lineId) && !fairyGrabBossModel.InActivityTime)
- {
- var index = list.FindIndex((x) =>
- {
- return x.lineIndex == lineId;
- });
- if (index != -1)
- {
- list.RemoveAt(index);
- }
}
}
--
Gitblit v1.8.0