This commit is contained in:
aozhiwei 2023-03-30 11:54:38 +08:00
parent 55908bbcf3
commit 4c7db9a16f

View File

@ -221,6 +221,9 @@ void Hero::DetachFromMaster()
}
detached_ = true;
}
if (list_empty(&entry)) {
list_del_init(&entry);
}
}
void Hero::DecHP(float dec_hp, int killer_id, const std::string killer_name, int weapon_id,