Changeset 107 for trunk

Show
Ignore:
Timestamp:
11/19/08 13:36:33 (17 years ago)
Author:
yumileroy
Message:

[svn] Fix the bug that summoned creatures may respawn.

Original author: megamage
Date: 2008-10-25 01:39:51-05:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/TemporarySummon.cpp

    r102 r107  
    3333void TemporarySummon::Update( uint32 diff ) 
    3434{ 
     35    if (m_deathState == DEAD) 
     36    { 
     37        UnSummon(); 
     38        return; 
     39    } 
    3540    switch(m_type) 
    3641    {