aboutsummaryrefslogtreecommitdiff
path: root/src/game/CreatureAIRegistry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/CreatureAIRegistry.cpp')
-rw-r--r--src/game/CreatureAIRegistry.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/CreatureAIRegistry.cpp b/src/game/CreatureAIRegistry.cpp
index 900f89da3b4..67c1f857a56 100644
--- a/src/game/CreatureAIRegistry.cpp
+++ b/src/game/CreatureAIRegistry.cpp
@@ -17,6 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+
#include "PassiveAI.h"
#include "ReactorAI.h"
#include "CombatAI.h"
@@ -29,6 +30,7 @@
#include "CreatureAIRegistry.h"
#include "WaypointMovementGenerator.h"
#include "CreatureAIFactory.h"
+
//#include "CreatureAIImpl.h"
namespace AIRegistry
{
@@ -47,6 +49,7 @@ namespace AIRegistry
(new CreatureAIFactory<ArchorAI>("ArchorAI"))->RegisterSelf();
(new CreatureAIFactory<TurretAI>("TurretAI"))->RegisterSelf();
(new CreatureAIFactory<CreatureEventAI>("EventAI"))->RegisterSelf();
+
(new MovementGeneratorFactory<RandomMovementGenerator<Creature> >(RANDOM_MOTION_TYPE))->RegisterSelf();
(new MovementGeneratorFactory<WaypointMovementGenerator<Creature> >(WAYPOINT_MOTION_TYPE))->RegisterSelf();
}