Fixing hp bugs

This commit is contained in:
Vladislav Khorev committed 2026-05-18 09:17:05 +03:00
1 parent 49501e32ce
commit 21bf3f0710
10 files changed
+38 -16

No files matched your search

+1
View File
@@ -351,6 +351,7 @@ namespace ZL {
npc->position = Eigen::Vector3f(npcData.positionX, npcData.positionY, npcData.positionZ);
npc->facingAngle = npcData.facingAngle;
npc->hp = npcData.hp;
npc->initialHp = npcData.hp;
npc->canAttack = npcData.canAttack;
npc->enabled = npcData.enabled;
npc->interactionRadius = npcData.interactionRadius;