mirror of
https://github.com/nzp-team/quakec.git
synced 2025-02-01 14:11:05 +00:00
Enable Achievements for Quakespasm
This commit is contained in:
parent
1afc19e785
commit
0d2c056192
2 changed files with 6 additions and 6 deletions
|
@ -434,7 +434,7 @@ void(string chaptertitle, string location, string date, string person, entity wh
|
||||||
|
|
||||||
void (float achievement_id, optional entity who) GiveAchievement =
|
void (float achievement_id, optional entity who) GiveAchievement =
|
||||||
{
|
{
|
||||||
#ifndef QUAKESPASM
|
//#ifndef QUAKESPASM
|
||||||
|
|
||||||
#ifndef PC
|
#ifndef PC
|
||||||
|
|
||||||
|
@ -483,12 +483,12 @@ void (float achievement_id, optional entity who) GiveAchievement =
|
||||||
#endif // PC
|
#endif // PC
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // QUAKESPASM
|
//#endif // QUAKESPASM
|
||||||
}
|
}
|
||||||
|
|
||||||
void (float achievement_id, float progress_value, optional entity who) UpdateAchievementProgress =
|
void (float achievement_id, float progress_value, optional entity who) UpdateAchievementProgress =
|
||||||
{
|
{
|
||||||
#ifndef QUAKESPASM
|
//#ifndef QUAKESPASM
|
||||||
|
|
||||||
#ifndef PC
|
#ifndef PC
|
||||||
|
|
||||||
|
@ -538,7 +538,7 @@ void (float achievement_id, float progress_value, optional entity who) UpdateAch
|
||||||
|
|
||||||
#endif // PC
|
#endif // PC
|
||||||
}
|
}
|
||||||
#endif // QUAKESPASM
|
//#endif // QUAKESPASM
|
||||||
}
|
}
|
||||||
|
|
||||||
// *****************************************
|
// *****************************************
|
||||||
|
|
|
@ -220,9 +220,9 @@ void() PU_NukeFinalize =
|
||||||
entity players;
|
entity players;
|
||||||
|
|
||||||
// give 'The F Bomb'
|
// give 'The F Bomb'
|
||||||
if (self.kills == 1) {
|
//if (self.kills == 1) {
|
||||||
GiveAchievement(4);
|
GiveAchievement(4);
|
||||||
}
|
//}
|
||||||
|
|
||||||
// award points
|
// award points
|
||||||
players = find(world,classname,"player");
|
players = find(world,classname,"player");
|
||||||
|
|
Loading…
Reference in a new issue