1
This commit is contained in:
parent
0ab7d1561d
commit
25516d479a
@ -3371,3 +3371,13 @@ void Human::CalcAssists(Human* target)
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
void Human::ProcThrowDmg(int throw_uniid)
|
||||
{
|
||||
auto itr = pending_throw_bomb.find(throw_uniid);
|
||||
if (itr == pending_throw_bomb.end()) {
|
||||
return;
|
||||
}
|
||||
auto context = *itr;
|
||||
pending_throw_bomb.erase(throw_uniid);
|
||||
}
|
||||
|
@ -393,6 +393,7 @@ class Human : public Creature
|
||||
int GetTeamMode();
|
||||
void NotifyTeamMarkTargetPos();
|
||||
void CalcAssists(Human* target);
|
||||
void ProcThrowDmg(int throw_uniid);
|
||||
|
||||
protected:
|
||||
void ProcLootWeapon(AddItemDTO& dto);
|
||||
|
@ -1339,7 +1339,7 @@ void Player::_CMRequestBulletDmg(f8::MsgHdr& hdr, const cs::CMRequestBulletDmg&
|
||||
|
||||
void Player::_CMRequestThrowDmg(f8::MsgHdr& hdr, const cs::CMRequestThrowDmg& msg)
|
||||
{
|
||||
|
||||
ProcThrowDmg(msg.throw_uniid());
|
||||
}
|
||||
|
||||
void Player::_CMStowShield(f8::MsgHdr& hdr, const cs::CMStowShield& msg)
|
||||
|
Loading…
x
Reference in New Issue
Block a user