From 93ab62e49410544a5915c97c0eba37847b80878a Mon Sep 17 00:00:00 2001 From: shweet Date: Sun, 29 Jun 2025 01:27:59 -0400 Subject: [PATCH] quick fix should fix some broken anm2s --- src/anm2.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/anm2.cpp b/src/anm2.cpp index 02248e0..48599c7 100644 --- a/src/anm2.cpp +++ b/src/anm2.cpp @@ -431,14 +431,6 @@ anm2_deserialize(Anm2* self, Resources* resources, const char* path) case ANM2_ATTRIBUTE_FPS: self->fps = atoi(xmlAttribute->Value()); break; - case ANM2_ATTRIBUTE_ID: - break; - case ANM2_ATTRIBUTE_LAYER_ID: - map_swap(animation->layerAnimations, id, atoi(xmlAttribute->Value())); - break; - case ANM2_ATTRIBUTE_NULL_ID: - map_swap(animation->nullAnimations, id, atoi(xmlAttribute->Value())); - break; case ANM2_ATTRIBUTE_PATH: strncpy(spritesheet->path, xmlAttribute->Value(), PATH_MAX - 1); break;