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.cpp2
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;