Fixing minor bugs
This commit is contained in:
1 parent
cc2eba1352
commit
08e1174eaf
2 files changed
+20
-18
No files matched your search
@@ -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
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user