From 99ef71cbc4eff7e2b195ccdd9ad5d4185ca89387 Mon Sep 17 00:00:00 2001 From: QAston Date: Thu, 9 Jul 2009 18:18:41 +0200 Subject: *Fix some problems with charmer removing started with rev 4402. --HG-- branch : trunk --- src/game/TemporarySummon.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/game/TemporarySummon.cpp') 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) -- cgit v1.2.3