mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-11-19 10:15:27 +00:00
feat(entity): combat AI objects get the client's proximity monitor and pathfinding control
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -612,6 +612,7 @@ void Entity::Initialize() {
|
|||||||
}
|
}
|
||||||
case eReplicaComponentType::BASE_COMBAT_AI: {
|
case eReplicaComponentType::BASE_COMBAT_AI: {
|
||||||
if (combatAiID > 0) {
|
if (combatAiID > 0) {
|
||||||
|
addProximityAndPathfinding();
|
||||||
AddComponent<BaseCombatAIComponent>(combatAiID);
|
AddComponent<BaseCombatAIComponent>(combatAiID);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user