Fixing minor bugs

This commit is contained in:
Vladislav Khorev committed 2026-04-16 13:44:40 +03:00
1 parent cc2eba1352
commit 08e1174eaf
2 files changed
+20 -18

No files matched your search

+2 -2
View File
@@ -348,9 +348,9 @@ namespace ZL {
}
try {
if (npcData.animationIdlePath.substr(npcData.animationIdlePath.size() - 5) == ".anim")
if (npcData.animationWalkPath.substr(npcData.animationWalkPath.size() - 5) == ".anim")
{
npc->loadBinaryAnimation(AnimationState::WALK, npcData.animationIdlePath, zipPath);
npc->loadBinaryAnimation(AnimationState::WALK, npcData.animationWalkPath, zipPath);
}
else
{