X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fanimdecide.qh;h=bfbba7cb80b5ebb7a32988175e40878390deb773;hb=aef95c1ebfbaa24e4cce752e596d991a31f9a4e9;hp=16feb948c35d5c2264b9bdc21329c531c47ae2d9;hpb=641c47df604de42c11c68a7d80813b29affcefb2;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/animdecide.qh b/qcsrc/common/animdecide.qh index 16feb948c..bfbba7cb8 100644 --- a/qcsrc/common/animdecide.qh +++ b/qcsrc/common/animdecide.qh @@ -24,7 +24,8 @@ ENDCLASS(Animation) REGISTRY(Animations, BITS(8)) REGISTER_REGISTRY(Animations) -#define Animations_from(id) _Animations_from(id, NULL) + +REGISTRY_DEFINE_GET(Animations, NULL) #define WriteAnimation(to, it) WriteRegistered(Animations, to, it) #define ReadAnimation() ReadRegistered(Animations) #define REGISTER_ANIMATION(id, framenames) \