aboutsummaryrefslogtreecommitdiff
path: root/src/game/InstanceData.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/InstanceData.h')
-rw-r--r--src/game/InstanceData.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/InstanceData.h b/src/game/InstanceData.h
index 43042a7f914..133f92ecc60 100644
--- a/src/game/InstanceData.h
+++ b/src/game/InstanceData.h
@@ -158,7 +158,7 @@ class TRINITY_DLL_SPEC InstanceData
//use HandleGameObject(GUID,boolen,NULL); in any other script
void HandleGameObject(uint64 GUID, bool open, GameObject *go = NULL);
- virtual void SetBossState(uint32 id, EncounterState state);
+ virtual bool SetBossState(uint32 id, EncounterState state);
const BossBoundaryMap * GetBossBoundary(uint32 id) const { return id < bosses.size() ? &bosses[id].boundary : NULL; }
protected:
void SetBossNumber(uint32 number) { bosses.resize(number); }