From c703ce8bfd76908b1c8fd823db4ba2245e151115 Mon Sep 17 00:00:00 2001 From: ApoC Date: Thu, 9 Jul 2009 13:06:42 +0200 Subject: [PATCH] [8154] Export only needed method from TemporarySummon class instead of whole class. Change suggested by Vladimir Signed-off-by: ApoC --- src/game/TemporarySummon.h | 4 ++-- src/shared/revision_nr.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/game/TemporarySummon.h b/src/game/TemporarySummon.h index d3527afd8..28a9192f0 100644 --- a/src/game/TemporarySummon.h +++ b/src/game/TemporarySummon.h @@ -22,14 +22,14 @@ #include "Creature.h" #include "ObjectAccessor.h" -class MANGOS_DLL_SPEC TemporarySummon : public Creature +class TemporarySummon : public Creature { public: explicit TemporarySummon(uint64 summoner = 0); virtual ~TemporarySummon(){}; void Update(uint32 time); void Summon(TempSummonType type, uint32 lifetime); - void UnSummon(); + void MANGOS_DLL_SPEC UnSummon(); void SaveToDB(); Unit* GetSummoner() const { return m_summoner ? ObjectAccessor::GetUnit(*this, m_summoner) : NULL; } private: diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 154b52387..416076a18 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "8153" + #define REVISION_NR "8154" #endif // __REVISION_NR_H__