Fix NON_MATCHING issue

This commit is contained in:
David Benepe
2021-07-11 17:42:16 -05:00
parent c709915af8
commit e240e34eb8
+1 -1
View File
@@ -137,7 +137,7 @@ void free_object_model(ObjectModel *model) {
if (model->animations != NULL) {
// Small issue with this loop too.
for (i = 0; i < model->numberOfAnimations; i++) {
free_from_memory_pool(model->animations[i].unk0 - 1);
free_from_memory_pool(model->animations[i].anim - 1);
}
free_from_memory_pool(model->animations);
}