Fix crash when destroying unit with corpse.

This commit is contained in:
jarod42 2004-10-11 17:34:37 +00:00
parent 6ce209eb15
commit 68906dea78

View file

@ -70,8 +70,6 @@ void HandleActionDie(Unit* unit)
//
if (unit->Reset) {
if (!unit->Type->CorpseType) {
// Unmark corpse sight, if it has any
MapUnmarkUnitSight(unit);
ReleaseUnit(unit);
return;
}