From 221b08e07246e84587b4144eca5564ce9ad3a20a Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Fri, 1 Nov 2024 19:02:28 +0100 Subject: implement leaderboard functionality --- backend/Player.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'backend') diff --git a/backend/Player.cpp b/backend/Player.cpp index f2bc526..5e0cca9 100644 --- a/backend/Player.cpp +++ b/backend/Player.cpp @@ -31,10 +31,6 @@ void Player::take_damage(unsigned int dmg) { auto & hp = this->health_points; lprtf("Je hebt %s%d levenspunt%s over.\n", hp > 0 ? "nog " : "", hp, hp == 1 ? "" : "en"); - - if (this->is_dead()) { - lprtf("Je bent dood gegaan!\n"); - } } Location & Player::get_location() const { -- cgit v1.2.3