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

This commit is contained in:
sigonasr2 2023-06-17 23:29:04 -05:00
parent 9e6573729e
commit c81040494c
4 changed files with 2 additions and 1 deletions

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

Binary file not shown.

Before

(image error) Size: 65 KiB

After

(image error) Size: 152 KiB

File diff suppressed because one or more lines are too long

Binary file not shown.