From 0d2c056192f5ba20724260e22c4a9746e34c77b7 Mon Sep 17 00:00:00 2001 From: Tyler Young Date: Sat, 28 Jan 2023 20:34:18 -0500 Subject: [PATCH] Enable Achievements for Quakespasm --- source/server/clientfuncs.qc | 8 ++++---- source/server/entities/powerups.qc | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/source/server/clientfuncs.qc b/source/server/clientfuncs.qc index 80e4f5d..65fea47 100644 --- a/source/server/clientfuncs.qc +++ b/source/server/clientfuncs.qc @@ -434,7 +434,7 @@ void(string chaptertitle, string location, string date, string person, entity wh void (float achievement_id, optional entity who) GiveAchievement = { -#ifndef QUAKESPASM +//#ifndef QUAKESPASM #ifndef PC @@ -483,12 +483,12 @@ void (float achievement_id, optional entity who) GiveAchievement = #endif // PC } -#endif // QUAKESPASM +//#endif // QUAKESPASM } void (float achievement_id, float progress_value, optional entity who) UpdateAchievementProgress = { -#ifndef QUAKESPASM +//#ifndef QUAKESPASM #ifndef PC @@ -538,7 +538,7 @@ void (float achievement_id, float progress_value, optional entity who) UpdateAch #endif // PC } -#endif // QUAKESPASM +//#endif // QUAKESPASM } // ***************************************** diff --git a/source/server/entities/powerups.qc b/source/server/entities/powerups.qc index fa03138..b38e568 100644 --- a/source/server/entities/powerups.qc +++ b/source/server/entities/powerups.qc @@ -220,9 +220,9 @@ void() PU_NukeFinalize = entity players; // give 'The F Bomb' - if (self.kills == 1) { + //if (self.kills == 1) { GiveAchievement(4); - } + //} // award points players = find(world,classname,"player");