diff options
Diffstat (limited to 'src/server/scripts/Custom')
| -rw-r--r-- | src/server/scripts/Custom/custom_example.cpp | 2 | ||||
| -rw-r--r-- | src/server/scripts/Custom/test.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/Custom/custom_example.cpp b/src/server/scripts/Custom/custom_example.cpp index da4e4fdd787..c0de8cc5475 100644 --- a/src/server/scripts/Custom/custom_example.cpp +++ b/src/server/scripts/Custom/custom_example.cpp @@ -106,7 +106,7 @@ public: } } - CreatureAI* GetAI(Creature* pCreature) + CreatureAI* GetAI(Creature* pCreature) const { return new custom_exampleAI (pCreature); } diff --git a/src/server/scripts/Custom/test.cpp b/src/server/scripts/Custom/test.cpp index 87ee59369b3..67ba1aec8b4 100644 --- a/src/server/scripts/Custom/test.cpp +++ b/src/server/scripts/Custom/test.cpp @@ -199,7 +199,7 @@ public: return true; } - CreatureAI* GetAI(Creature* pCreature) + CreatureAI* GetAI(Creature* pCreature) const { npcAI* testAI = new npcAI(pCreature); |
