Just a little cleanup before getting serious again.

This commit is contained in:
Zed A. Shaw 2024-08-10 15:09:54 -04:00
parent 52b59d38ad
commit 5b18849ddc
2 changed files with 12 additions and 8 deletions

View file

@ -116,12 +116,6 @@ bool GameEngine::hit(string &type) {
int damage = determine_damage(type);
hit_points -= damage;
if(is_dead()) {
print(ERROR, "YOU DIED!\n");
} else {
println("DAMAGE {}, HP: {}", damage, hit_points);
}
// super dumb but I'll clean it up later
return is_dead();
}