This commit is contained in:
aozhiwei 2021-09-13 02:55:58 +00:00
parent 66044e8395
commit 6e0ec1c6d3

View File

@ -106,6 +106,11 @@ void FrameEvent::AddBullet(int bullet_uniid,
(
[bullet_idx, &sender] (Human* hum, bool& stop)
{
#ifdef DEBUG
if (!hum->InPartObjects(sender.Get())) {
abort();
}
#endif
hum->bullets_.push_back(bullet_idx);
});
}