*Cleanup of scripts.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-06-16 11:45:33 -05:00
1 parent bd054b8453
commit 726e686f08
116 files changed
+218 -232

No files matched your search

+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();