This commit is contained in:
aozhiwei 2020-06-18 15:26:34 +08:00
parent 7e6bc959df
commit c6319355c3

View File

@ -209,8 +209,8 @@ void Player::_CMFriendApplyList(f8::MsgHdr& hdr, const cs::CMFriendApplyList& ms
apply.base_data.user_value1 = a8::XValue(row[8]); apply.base_data.user_value1 = a8::XValue(row[8]);
apply.base_data.user_value2 = a8::XValue(row[9]); apply.base_data.user_value2 = a8::XValue(row[9]);
apply.base_data.user_value3 = a8::XValue(row[10]); apply.base_data.user_value3 = a8::XValue(row[10]);
#if 0
hum->apply_list_.push_back(apply); hum->apply_list_.push_back(apply);
#if 0
if (apply.idx > hum->last_apply_idx_) { if (apply.idx > hum->last_apply_idx_) {
hum->last_apply_idx_ = apply.idx; hum->last_apply_idx_ = apply.idx;
} }
@ -219,6 +219,7 @@ void Player::_CMFriendApplyList(f8::MsgHdr& hdr, const cs::CMFriendApplyList& ms
cs::SMFriendApplyList respmsg; cs::SMFriendApplyList respmsg;
hum->FillApplyList(*paging, respmsg); hum->FillApplyList(*paging, respmsg);
hum->SendMsg(respmsg); hum->SendMsg(respmsg);
hum->apply_list_.clear();
} }
delete paging; delete paging;
}; };