From 6f326df431a06ae05c9c0f300d20875055caef42 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 25 Oct 2022 16:01:38 +0800 Subject: [PATCH] 1 --- server/gameserver/creature.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/gameserver/creature.cc b/server/gameserver/creature.cc index 724d0c0a..3f200d83 100644 --- a/server/gameserver/creature.cc +++ b/server/gameserver/creature.cc @@ -2485,7 +2485,11 @@ void Creature::AddHp(float hp) if (IsHuman()) { Human* hum = (Human*)this; hum->stats.heal_amount += GetHP() - old_health; +#if 1 + room->frame_event.AddHpChg(GetWeakPtrRef()); +#else SyncAroundPlayers(__FILE__, __LINE__, __func__); +#endif } }