forked from Mirrors/openclonk
Detach any visible objects upon Death (#1974).
parent
07ea7f2791
commit
16adcfff73
|
@ -169,8 +169,7 @@ protected func Death(int killed_by)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
CloseEyes(1);
|
CloseEyes(1);
|
||||||
UpdateAttach();
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -417,6 +417,7 @@ func Ejection(object obj)
|
||||||
this->~OnSlotEmpty(handpos);
|
this->~OnSlotEmpty(handpos);
|
||||||
obj->~Deselection(this, handpos);
|
obj->~Deselection(this, handpos);
|
||||||
}
|
}
|
||||||
|
this->~UpdateAttach();
|
||||||
}
|
}
|
||||||
|
|
||||||
// we have over-weight? Put the next unindexed object inside that slot
|
// we have over-weight? Put the next unindexed object inside that slot
|
||||||
|
|
Loading…
Reference in New Issue