*Cleanup of scripts.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-06-16 11:45:33 -05:00
parent bd054b8453
commit 726e686f08
116 changed files with 218 additions and 232 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ void SummonList::DespawnAll()
erase(begin());
summon->SetVisibility(VISIBILITY_OFF);
if(summon->isSummon() && !summon->isPet())
((TempSummon*)summon)->UnSummon();
CAST_SUM(summon)->UnSummon();
else
summon->setDeathState(JUST_DIED);
summon->RemoveCorpse();