diff --git a/src/IW5/Assets/XAnimParts.cpp b/src/IW5/Assets/XAnimParts.cpp index 29f6daf..c636af0 100644 --- a/src/IW5/Assets/XAnimParts.cpp +++ b/src/IW5/Assets/XAnimParts.cpp @@ -36,7 +36,7 @@ namespace ZoneTool for (auto i = 0; i < anim->boneCount[9]; i++) { - anim->tagnames[i] = SL_AllocString(FileSystem::ReadString(file, mem.get())); + anim->tagnames[i] = allocString(FileSystem::ReadString(file, mem.get())); } if (FileSystem::ReadInt(file)) @@ -48,7 +48,7 @@ namespace ZoneTool fread(&anim->notetracks[i], sizeof(XAnimNotifyInfo), 1, file); const char* str = FileSystem::ReadString(file, mem.get()); - anim->notetracks[i].name = SL_AllocString(str); + anim->notetracks[i].name = allocString(str); } }