From 5d4856099c79ed1ee101da82db62dc90fcdc1eb2 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期二, 07 五月 2019 14:38:06 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts

---
 Fight/Stage/MapEditor/Game/ClientSceneManager.cs |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/Fight/Stage/MapEditor/Game/ClientSceneManager.cs b/Fight/Stage/MapEditor/Game/ClientSceneManager.cs
index 1ef45c7..56bec93 100644
--- a/Fight/Stage/MapEditor/Game/ClientSceneManager.cs
+++ b/Fight/Stage/MapEditor/Game/ClientSceneManager.cs
@@ -90,6 +90,8 @@
         }
     }
 
+    public Vector3 lastDeadPos { get; private set; }
+
     public void NpcDead(int eventID, GActor npc, int npcID)
     {
         if (eventID < 0 || npc == null)
@@ -110,6 +112,8 @@
                 m_EventActorDict[eventID].Remove(npc);
             }
         }
+
+        lastDeadPos = npc.Pos;
     }
 
     public void Handle_0820(H0820_tagMissionDict package)

--
Gitblit v1.8.0