From 40e13a9662e044e266ede74fb279e7305191ecc3 Mon Sep 17 00:00:00 2001
From: 339726288@qq.com <339726288@qq.com>
Date: 星期四, 09 八月 2018 16:24:15 +0800
Subject: [PATCH] fixed #1478 隐藏其他角色后再显示,守护没有显形
---
Fight/GameActor/GA_Player.cs | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/Fight/GameActor/GA_Player.cs b/Fight/GameActor/GA_Player.cs
index 29a937a..f2819db 100644
--- a/Fight/GameActor/GA_Player.cs
+++ b/Fight/GameActor/GA_Player.cs
@@ -6,6 +6,9 @@
public class GA_Player : GActorPlayerBase, IOtherSelectable
{
+ // 涓哄畧鎶ょ壒娈婂畾涔夌殑褰撳墠鏄惁瑁呭瀹堟姢id
+ public int serverGuardId;
+
// 绠�鏄撶殑鑴辨満鎸侫I鑽夌
// 姝ラ 1. 瀵荤偣 2. 绉诲姩鑷� 3. 鏀句釜鏅敾
private byte m_Step;
@@ -108,6 +111,7 @@
else if (_equipInfo.Place == (int)RoleEquipType.retSpiritAnimal)
{
SwitchGuard(_equipInfo.ItemID);
+ serverGuardId = (int)_equipInfo.ItemID;
}
else if (_equipInfo.Place == (int)RoleEquipType.mount)
{
--
Gitblit v1.8.0