From 7d0813ce8c1be14bc1b9b706644bd4aa797244ee Mon Sep 17 00:00:00 2001 From: 12xx12 <44411062+12xx12@users.noreply.github.com> Date: Wed, 12 Aug 2020 09:54:36 +0100 Subject: Add Statistics and Achievements for newer Network standards --- src/Entities/Player.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/Entities/Player.h') diff --git a/src/Entities/Player.h b/src/Entities/Player.h index c52d6bbdc..6297ddcbc 100644 --- a/src/Entities/Player.h +++ b/src/Entities/Player.h @@ -235,9 +235,8 @@ public: /** Awards the player an achievement. If all prerequisites are met, this method will award the achievement and will broadcast a chat message. - If the achievement has been already awarded to the player, this method will just increment the stat counter. - Returns the _new_ stat value. (0 = Could not award achievement) */ - unsigned int AwardAchievement(const eStatistic a_Ach); + If the achievement has been already awarded to the player, this method will just increment the stat counter. */ + void AwardAchievement(Statistic a_Ach); void SetIP(const AString & a_IP); -- cgit v1.2.3