diff options
| author | QAston <none@none> | 2009-07-09 18:18:41 +0200 |
|---|---|---|
| committer | QAston <none@none> | 2009-07-09 18:18:41 +0200 |
| commit | 99ef71cbc4eff7e2b195ccdd9ad5d4185ca89387 (patch) | |
| tree | 0b320569bdb0f9ada32eee43aaa2104dd1f50e64 /src/game/TemporarySummon.cpp | |
| parent | b39bff681f41b12c483d2fa0a58623bd26ff5871 (diff) | |
*Fix some problems with charmer removing started with rev 4402.
--HG--
branch : trunk
Diffstat (limited to 'src/game/TemporarySummon.cpp')
| -rw-r--r-- | src/game/TemporarySummon.cpp | 3 |
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) |
