diff options
Diffstat (limited to 'src/game/InstanceData.cpp')
-rw-r--r-- | src/game/InstanceData.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/game/InstanceData.cpp b/src/game/InstanceData.cpp index 8db145bb5e1..51f63c6dbdc 100644 --- a/src/game/InstanceData.cpp +++ b/src/game/InstanceData.cpp @@ -25,6 +25,7 @@ #include "GameObject.h" #include "Creature.h" #include "CreatureAI.h" +#include "Log.h" void InstanceData::SaveToDB() { @@ -331,3 +332,10 @@ void InstanceData::DoRemoveAurasDueToSpellOnPlayers(uint32 spell) if (Player* pPlayer = i->getSource()) pPlayer->RemoveAurasDueToSpell(spell); } + +bool InstanceData::CheckAchievementCriteriaMeet( uint32 criteria_id, Player const* /*source*/, Unit const* /*target*/ /*= NULL*/, uint32 /*miscvalue1*/ /*= 0*/ ) +{ + sLog.outError("Achievement system call InstanceData::CheckAchievementCriteriaMeet but instance script for map %u not have implementation for achievement criteria %u", + instance->GetId(),criteria_id); + return false; +} |