Set new type of animation
This commit is contained in:
1 parent
52c4ad8ee0
commit
4d9a5b0a6e
49 files changed
+684419
-64
No files matched your search
+1
-7
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user