Set new type of animation

This commit is contained in:
Vladislav Khorev committed 2026-04-22 20:45:40 +03:00
1 parent 52c4ad8ee0
commit 4d9a5b0a6e
49 files changed
+684419 -64

No files matched your search

+1 -7
View File
@@ -520,15 +520,9 @@ namespace ZL
}
for (auto& npc : npcs)
{
if (npc->canAttack)
{
npc->update(delta);
}
//npc->update(delta);
npc->update(delta);
}
// Check if player reached target interactive object
if (targetInteractiveObject && player) {
float distToObject = (player->position - targetInteractiveObject->position).norm();