From bcfc58a72df7ce5aaa14c2bc49ee28f500a8bffb Mon Sep 17 00:00:00 2001 From: XTZGZoReX Date: Sat, 7 Aug 2010 13:46:08 +0200 Subject: * Script-side changes for my last commit. --HG-- branch : trunk --- src/server/scripts/Examples/example_creature.cpp | 2 +- src/server/scripts/Examples/example_escort.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/server/scripts/Examples') diff --git a/src/server/scripts/Examples/example_creature.cpp b/src/server/scripts/Examples/example_creature.cpp index 36bd6ff3b4a..52a9a77a543 100644 --- a/src/server/scripts/Examples/example_creature.cpp +++ b/src/server/scripts/Examples/example_creature.cpp @@ -258,7 +258,7 @@ class example_creature : public CreatureScript } }; - CreatureAI* OnGetAI(Creature* creature) const + CreatureAI* GetAI(Creature* creature) const { return new example_creatureAI(creature); } diff --git a/src/server/scripts/Examples/example_escort.cpp b/src/server/scripts/Examples/example_escort.cpp index 65fbdc11696..2def7fa7770 100644 --- a/src/server/scripts/Examples/example_escort.cpp +++ b/src/server/scripts/Examples/example_escort.cpp @@ -178,7 +178,7 @@ class example_escort : public CreatureScript } }; - CreatureAI* OnGetAI(Creature* creature) const + CreatureAI* GetAI(Creature* creature) const { return new example_escortAI(creature); } -- cgit v1.2.3