Fix Player::Hurt not having a return value. Web build created.

This commit is contained in:
2023-06-17 23:29:04 -05:00
parent 9e6573729e
commit c81040494c
4 changed files with 2 additions and 1 deletions
+1
View File
@@ -271,6 +271,7 @@ bool Player::Hurt(int damage){
if(state==State::BLOCK)damage=0;
hp=std::max(0,hp-damage);
DAMAGENUMBER_LIST.push_back(DamageNumber(pos,damage));
return true;
}
void Player::AddAnimation(AnimationState state){