]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/animdecide.qh
Don't use a countdown if the powerup is set to respawn quickly
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / animdecide.qh
index 578a30f68bccab793dbadf9e6e8b956be4dc677e..39ca54ff2f7783514755385f4e3af49b557d54c9 100644 (file)
@@ -26,8 +26,8 @@ ENDCLASS(Animation)
 REGISTRY(Animations, BITS(8))
 REGISTER_REGISTRY(Animations)
 #define Animations_from(id) _Animations_from(id, NULL)
-#define WriteAnimation(to, it) WriteRegistry(Animations, to, it)
-#define ReadAnimation() ReadRegistry(Animations)
+#define WriteAnimation(to, it) WriteRegistered(Animations, to, it)
+#define ReadAnimation() ReadRegistered(Animations)
 #define REGISTER_ANIMATION(id, framenames) \
        .vector anim_##id; \
        REGISTER(Animations, ANIM_##id, m_id, NEW(Animation)) { \