This commit is contained in:
aozhiwei 2023-03-06 11:36:44 +08:00
parent 0ff5409773
commit 6712e2deaa
2 changed files with 3 additions and 2 deletions

View File

@ -979,7 +979,8 @@ void Player::_CMMove(f8::MsgHdr& hdr, const cs::CMMove& msg)
use_skill = false;
}
if (msg.has_throw_bomb()) {
*throw_bomb = msg.throw_bomb();
throw_bomb = std::shared_ptr<cs::MFThrow>();
*(throw_bomb.get()) = msg.throw_bomb();
} else {
throw_bomb.reset();
}

2
third_party/a8 vendored

@ -1 +1 @@
Subproject commit 592661bae5547a0c1675816595b803f902d83041
Subproject commit 7bd146740195fbf3d0268fd873708f4ec2f56ab6