From 6f27e68b2813477584705a66704dbabbbfc20fab Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期三, 03 四月 2019 14:59:51 +0800
Subject: [PATCH] 382 任务控制的NPC显隐逻辑修改
---
System/MainInterfacePanel/TaskModel.cs | 19 -------------------
1 files changed, 0 insertions(+), 19 deletions(-)
diff --git a/System/MainInterfacePanel/TaskModel.cs b/System/MainInterfacePanel/TaskModel.cs
index df02015..18af6e1 100644
--- a/System/MainInterfacePanel/TaskModel.cs
+++ b/System/MainInterfacePanel/TaskModel.cs
@@ -830,27 +830,8 @@
}
}
- private List<int> m_NeedHideNpcList = new List<int>();
-
public void Task0820(H0820_tagMissionDict info)//0820淇℃伅瀛楀吀
{
- m_NeedHideNpcList.Clear();
- foreach (var _id in NPCShowDic.Keys)
- {
- if (NPCShowDic[_id] == 1)
- {
- var _npcConfig = NPCConfig.Get(_id);
- if (_npcConfig.Show == 0)
- {
- m_NeedHideNpcList.Add(_id);
- }
- }
- }
- foreach (var _id in m_NeedHideNpcList)
- {
- GA_NpcFunc.SetNpcFuncVisible(_id, false);
- NPCShowDic[_id] = 0;
- }
Dictionary<string, int> dic = null;
ReplaceDic.TryGetValue((int)info.MissionID, out dic);
if (dic == null)
--
Gitblit v1.8.0