diff --git a/Crawler/Monster.cpp b/Crawler/Monster.cpp index 882edc53..4544c5ca 100644 --- a/Crawler/Monster.cpp +++ b/Crawler/Monster.cpp @@ -308,7 +308,7 @@ AnimationState Monster::GetDeathAnimationName(){ return AnimationState::IDLE_S; } } -} +} bool Monster::Hurt(int damage){ if(hp<=0) return false; hp=std::max(0,hp-damage);