Detach any visible objects upon Death (#1974).

install-platforms
Clonkonaut 2018-01-14 14:48:03 +01:00
parent 07ea7f2791
commit 16adcfff73
2 changed files with 2 additions and 2 deletions

View File

@ -169,8 +169,7 @@ protected func Death(int killed_by)
}
}
CloseEyes(1);
UpdateAttach();
return true;
}

View File

@ -417,6 +417,7 @@ func Ejection(object obj)
this->~OnSlotEmpty(handpos);
obj->~Deselection(this, handpos);
}
this->~UpdateAttach();
}
// we have over-weight? Put the next unindexed object inside that slot