diff --git a/server/gameserver/hero.cc b/server/gameserver/hero.cc index 84679ca9..ef316422 100644 --- a/server/gameserver/hero.cc +++ b/server/gameserver/hero.cc @@ -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 } }