1
This commit is contained in:
parent
4cce360fe4
commit
6f326df431
@ -2485,7 +2485,11 @@ void Creature::AddHp(float hp)
|
|||||||
if (IsHuman()) {
|
if (IsHuman()) {
|
||||||
Human* hum = (Human*)this;
|
Human* hum = (Human*)this;
|
||||||
hum->stats.heal_amount += GetHP() - old_health;
|
hum->stats.heal_amount += GetHP() - old_health;
|
||||||
|
#if 1
|
||||||
|
room->frame_event.AddHpChg(GetWeakPtrRef());
|
||||||
|
#else
|
||||||
SyncAroundPlayers(__FILE__, __LINE__, __func__);
|
SyncAroundPlayers(__FILE__, __LINE__, __func__);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user