1
This commit is contained in:
parent
66044e8395
commit
6e0ec1c6d3
@ -106,6 +106,11 @@ void FrameEvent::AddBullet(int bullet_uniid,
|
|||||||
(
|
(
|
||||||
[bullet_idx, &sender] (Human* hum, bool& stop)
|
[bullet_idx, &sender] (Human* hum, bool& stop)
|
||||||
{
|
{
|
||||||
|
#ifdef DEBUG
|
||||||
|
if (!hum->InPartObjects(sender.Get())) {
|
||||||
|
abort();
|
||||||
|
}
|
||||||
|
#endif
|
||||||
hum->bullets_.push_back(bullet_idx);
|
hum->bullets_.push_back(bullet_idx);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user