Fix when saving with unit in early stages of death

This commit is contained in:
nobody_ 2004-01-31 22:25:02 +00:00
parent 6d4ada8c41
commit b4317e4fb1

View file

@ -965,6 +965,7 @@ local int CclUnit(lua_State* l)
if (unit->UnitSlot && (unit->Destroyed || unit->Orders->Action == UnitActionDie)) {
UnitCacheRemove(unit);
UnitCacheInsert(unit);
UnitCountSeen(unit);
}
// Units Dieing may have sight