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){
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB

After

Width:  |  Height:  |  Size: 152 KiB

+1 -1
View File
File diff suppressed because one or more lines are too long
BIN
View File
Binary file not shown.