fixed missing damage indicators

This commit is contained in:
Magnus Auvinen 2007-07-14 22:35:46 +00:00
parent 94fe893150
commit 59da3c1ee6

View file

@ -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