X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fscores.qh;h=45af93992aacdf33f7d8338867fe73a43807b2a3;hb=HEAD;hp=8a01893f1019c423927029d57b004baa8f66b88c;hpb=2c788b04f4df7326baccf0f6a8d19613b3a9db7b;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/scores.qh b/qcsrc/common/scores.qh index 8a01893f1..f6df5d28c 100644 --- a/qcsrc/common/scores.qh +++ b/qcsrc/common/scores.qh @@ -3,11 +3,11 @@ #define MAX_SCORE 64 #define REGISTER_SP(id) REGISTER(Scores, SP, id, m_id, new_pure(PlayerScoreField)) -REGISTRY(Scores, MAX_SCORE); +REGISTRY(Scores, MAX_SCORE) REGISTER_REGISTRY(Scores) // do not sort alphabetically, player sort priority is based on score registration order -//REGISTRY_SORT(Scores); -REGISTRY_CHECK(Scores); +//REGISTRY_SORT(Scores) +REGISTRY_CHECK(Scores) REGISTRY_DEFINE_GET(Scores, NULL) STATIC_INIT(Scores_renumber) { FOREACH(Scores, true, it.m_id = i); } @@ -47,7 +47,7 @@ REGISTER_SP(KEEPAWAY_PICKUPS); REGISTER_SP(KH_CAPS); REGISTER_SP(KH_KCKILLS); REGISTER_SP(KH_LOSSES); -REGISTER_SP(KH_DESTROYS); +REGISTER_SP(KH_DESTRUCTIONS); REGISTER_SP(KH_PUSHES); REGISTER_SP(KH_PICKUPS);