This commit is contained in:
aozhiwei 2021-09-13 02:20:39 +00:00
parent 5a2c92cb4e
commit 66044e8395
2 changed files with 3 additions and 1 deletions

View File

@ -91,6 +91,8 @@ enum BuffEffectType_e
kBET_BeatBack = 67, //击退
kBET_Disperse = 68, //驱散
kBET_PeaceMode = 69, //和平模式
kBET_ClientUse1 = 70, //
kBET_ClientUse2 = 71, //
kBET_End
};

View File

@ -104,7 +104,7 @@ void FrameEvent::AddBullet(int bullet_uniid,
int bullet_idx = bullets_.size() - 1;
sender.Get()->TraverseAllLayerHumanList
(
[bullet_idx] (Human* hum, bool& stop)
[bullet_idx, &sender] (Human* hum, bool& stop)
{
hum->bullets_.push_back(bullet_idx);
});