1
This commit is contained in:
parent
fa51c1bb7e
commit
b6e4d1610c
@ -979,7 +979,7 @@ void Player::_CMMove(f8::MsgHdr& hdr, const cs::CMMove& msg)
|
|||||||
use_skill = false;
|
use_skill = false;
|
||||||
}
|
}
|
||||||
if (msg.has_throw_bomb()) {
|
if (msg.has_throw_bomb()) {
|
||||||
throw_bomb = std::shared_ptr<cs::MFThrow>();
|
throw_bomb = std::make_shared<cs::MFThrow>();
|
||||||
*(throw_bomb.get()) = msg.throw_bomb();
|
*(throw_bomb.get()) = msg.throw_bomb();
|
||||||
} else {
|
} else {
|
||||||
throw_bomb.reset();
|
throw_bomb.reset();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user