mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
fixed missing damage indicators
This commit is contained in:
parent
94fe893150
commit
59da3c1ee6
|
@ -871,6 +871,9 @@ public:
|
|||
{
|
||||
vel += force;
|
||||
|
||||
// create healthmod indicator
|
||||
create_damageind(pos, normalize(force), dmg);
|
||||
|
||||
if(armor)
|
||||
{
|
||||
armor -= 1;
|
||||
|
@ -886,9 +889,6 @@ public:
|
|||
else
|
||||
armor -= dmg;
|
||||
|
||||
// create healthmod indicator
|
||||
create_damageind(pos, normalize(force), dmg);
|
||||
|
||||
damage_taken_tick = server_tick()+50;
|
||||
|
||||
// check for death
|
||||
|
|
Loading…
Reference in a new issue