This commit is contained in:
aozhiwei 2022-05-26 19:14:40 +08:00
parent 9b7cafb97b
commit 19c89ce3d6

View File

@ -285,7 +285,18 @@ void Hero::BeKill(int killer_id, const std::string& killer_name, int weapon_id)
void Hero::OnAddToTargetPartObject(Entity* target)
{
if (delete_frameno > 0) {
#if 1
a8::UdpLog::Instance()->Warning
("Hero::OnAddToTargetPartObject "
"dead_frameno:%d "
"room.frameno:%d",
{
dead_frameno,
room->GetFrameNo()
});
#else
A8_ABORT();
#endif
}
}