mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
No damage effects on hp_max change (#11846)
This commit is contained in:
parent
3eafcab64e
commit
f4a53f7ee6
9 changed files with 23 additions and 11 deletions
|
@ -493,6 +493,7 @@ void Client::step(float dtime)
|
|||
ClientEvent *event = new ClientEvent();
|
||||
event->type = CE_PLAYER_DAMAGE;
|
||||
event->player_damage.amount = damage;
|
||||
event->player_damage.effect = true;
|
||||
m_client_event_queue.push(event);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue