From 0ac903348250524199ad782d5e97884d3f3df8e9 Mon Sep 17 00:00:00 2001 From: UnKownOwO <80520429@qq.com> Date: Mon, 27 Mar 2023 21:23:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E9=87=8D=E5=A4=8D=E8=AF=BB=E8=A7=92?= =?UTF-8?q?=E8=89=B2map?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gs/game/world_scene.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gs/game/world_scene.go b/gs/game/world_scene.go index 710e045c..ca50a536 100644 --- a/gs/game/world_scene.go +++ b/gs/game/world_scene.go @@ -103,7 +103,7 @@ func (s *Scene) CreateEntityAvatar(player *model.Player, avatarId uint32) uint32 moveState: uint16(proto.MotionState_MOTION_NONE), lastMoveSceneTimeMs: 0, lastMoveReliableSeq: 0, - fightProp: dbAvatar.AvatarMap[avatarId].FightPropMap, // 使用角色结构的数据 + fightProp: avatar.FightPropMap, // 使用角色结构的数据 entityType: constant.ENTITY_TYPE_AVATAR, avatarEntity: &AvatarEntity{ uid: player.PlayerID,