aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/AI/CreatureAIRegistry.cpp
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2017-12-28 12:12:58 -0300
committerfunjoker <funjoker109@gmail.com>2021-04-15 05:53:27 +0200
commit523dab764b0b3ebe76f957115e976b36fb79987e (patch)
tree58915173a1e50194338174f47092b7470c1ac481 /src/server/game/AI/CreatureAIRegistry.cpp
parenta7883380ce4c827db103b0c43faca6632c3d1f66 (diff)
Core/AI: Added a way to specify if certain AI types mustn't be allowed on DB
Ref 072c884ed86a9bf895cd5f53b0f6480ae14c3059 Ref 2c7e921cdc14527bd99d6976793e69999f262f9d (cherry picked from commit a998bba5c239d6bae8426b989ec96475efb969ae)
Diffstat (limited to 'src/server/game/AI/CreatureAIRegistry.cpp')
-rw-r--r--src/server/game/AI/CreatureAIRegistry.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/AI/CreatureAIRegistry.cpp b/src/server/game/AI/CreatureAIRegistry.cpp
index 35ba2a56be6..10a06384f49 100644
--- a/src/server/game/AI/CreatureAIRegistry.cpp
+++ b/src/server/game/AI/CreatureAIRegistry.cpp
@@ -41,8 +41,8 @@ namespace AIRegistry
(new CreatureAIFactory<PassiveAI>("PassiveAI"))->RegisterSelf();
(new CreatureAIFactory<CritterAI>("CritterAI"))->RegisterSelf();
(new CreatureAIFactory<GuardAI>("GuardAI"))->RegisterSelf();
- (new CreatureAIFactory<PetAI>("PetAI"))->RegisterSelf();
- (new CreatureAIFactory<TotemAI>("TotemAI"))->RegisterSelf();
+ (new CreatureAIFactory<PetAI, false>("PetAI"))->RegisterSelf();
+ (new CreatureAIFactory<TotemAI, false>("TotemAI"))->RegisterSelf();
(new CreatureAIFactory<CombatAI>("CombatAI"))->RegisterSelf();
(new CreatureAIFactory<ArcherAI>("ArcherAI"))->RegisterSelf();
(new CreatureAIFactory<TurretAI>("TurretAI"))->RegisterSelf();