Fix crash when destroying unit with corpse.
This commit is contained in:
parent
6ce209eb15
commit
68906dea78
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue