This commit is contained in:
aozhiwei 2023-04-05 18:01:08 +08:00
parent 0e1a01014a
commit b9508abab8

View File

@ -3627,7 +3627,16 @@ void Room::AddReportBullet(int bullet_uniid)
void Room::AddFrameCall(FrameCallCb cb, void* context)
{
FrameCallNode *p = new FrameCallNode;
p->cb = cb;
p->context = context;
if (bot_node_) {
bot_node_->next = p;
bot_node_ = p;
} else {
top_node_ = p;
bot_node_ = p;
}
}
void Room::UpdateFrameCall()