aboutsummaryrefslogtreecommitdiff
path: root/src/game/TemporarySummon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/TemporarySummon.cpp')
-rw-r--r--src/game/TemporarySummon.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/TemporarySummon.cpp b/src/game/TemporarySummon.cpp
index 42cf0f4c2ef..3382c794622 100644
--- a/src/game/TemporarySummon.cpp
+++ b/src/game/TemporarySummon.cpp
@@ -334,7 +334,8 @@ void Puppet::InitStats(uint32 duration)
void Puppet::InitSummon()
{
Minion::InitSummon();
- SetCharmedBy(m_owner, CHARM_TYPE_POSSESS);
+ if (!SetCharmedBy(m_owner, CHARM_TYPE_POSSESS))
+ assert(false);
}
void Puppet::Update(uint32 time)