Enable Achievements for Quakespasm

This commit is contained in:
Tyler Young 2023-01-28 20:34:18 -05:00
parent 1afc19e785
commit 0d2c056192
2 changed files with 6 additions and 6 deletions

View file

@ -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
}
// *****************************************

View file

@ -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");