aboutsummaryrefslogtreecommitdiff
path: root/src/game/CreatureAI.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/CreatureAI.h')
-rw-r--r--src/game/CreatureAI.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/game/CreatureAI.h b/src/game/CreatureAI.h
index 1cfeb6555f2..a15ae59a0ad 100644
--- a/src/game/CreatureAI.h
+++ b/src/game/CreatureAI.h
@@ -1,7 +1,7 @@
/*
- * Copyright (C) 2005-2008 MaNGOS <http://www.mangosproject.org/>
+ * Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*
- * Copyright (C) 2008 Trinity <http://www.trinitycore.org/>
+ * Copyright (C) 2008-2009 Trinity <http://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -149,6 +149,9 @@ class TRINITY_DLL_SPEC CreatureAI : public UnitAI
virtual void MovementInform(uint32 /*MovementType*/, uint32 /*Data*/) {}
void OnCharmed(bool apply);
+
+ // Called at reaching home after evade
+ virtual void JustReachedHome() {}
};
struct SelectableAI : public FactoryHolder<CreatureAI>, public Permissible<Creature>