This commit is contained in:
aozhiwei 2019-04-11 11:07:50 +08:00
commit 2bf4c45faf

View File

@ -80,7 +80,7 @@ void Bullet::OnHit(std::vector<Entity*>& objects)
{
Human* hum = (Human*)target;
if (!hum->dead) {
hum->DecHP(10, 0, "");
hum->DecHP(10, player->entity_uniid, player->name);
}
}
break;