diff options
author | megamage <none@none> | 2009-03-31 14:08:38 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-03-31 14:08:38 -0600 |
commit | b51cea6ce48295c3ebea9b2340d76a4ab147a6e5 (patch) | |
tree | 890561d68855a87936d8b4c8a0de6b4c0e20e8bc /src/game/TemporarySummon.cpp | |
parent | 1fe8050b09d2d522ded639d4dacb2f354603b596 (diff) |
*Remove some code which may cause crash.
--HG--
branch : trunk
Diffstat (limited to 'src/game/TemporarySummon.cpp')
-rw-r--r-- | src/game/TemporarySummon.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/TemporarySummon.cpp b/src/game/TemporarySummon.cpp index 4ae2c86b96a..acf0dbc78ba 100644 --- a/src/game/TemporarySummon.cpp +++ b/src/game/TemporarySummon.cpp @@ -168,6 +168,8 @@ void TempSummon::Update( uint32 diff ) void TempSummon::InitSummon(uint32 duration) { + assert(!isPet()); + m_timer = duration; m_lifetime = duration; |