diff options
Diffstat (limited to 'src/game/CreatureAI.h')
-rw-r--r-- | src/game/CreatureAI.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/game/CreatureAI.h b/src/game/CreatureAI.h index fbfb8605866..78d856416ff 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 @@ -146,6 +146,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> |