diff options
| author | Machiavelli <none@none> | 2010-08-14 10:28:45 +0200 |
|---|---|---|
| committer | Machiavelli <none@none> | 2010-08-14 10:28:45 +0200 |
| commit | 075a4525d79419343b7b80d5d422030af2cf707a (patch) | |
| tree | df09e573607fe5c1eabc44fd8040fdcae1288c4c /src/server/scripts/Custom | |
| parent | 362a1eed51c416bacbc58bf89cd48ad02bd1e585 (diff) | |
This should be the last of the malfunctioning AI scripts, thanks to click for the list
--HG--
branch : trunk
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); |
