diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-01 19:02:28 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-01 19:02:28 +0100 |
commit | 221b08e07246e84587b4144eca5564ce9ad3a20a (patch) | |
tree | d46a71a331ff51a92c1c332e57e0a7c88851a713 /backend | |
parent | ca3e80a5b474d99391c253d3173117e955e33a20 (diff) |
implement leaderboard functionality
Diffstat (limited to 'backend')
-rw-r--r-- | backend/Player.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
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 { |