1
This commit is contained in:
parent
9b5d50cf6b
commit
f51a00bb18
@ -1026,6 +1026,14 @@ void Player::_CMMove(f8::MsgHdr& hdr, const cs::CMMove& msg)
|
|||||||
} else {
|
} else {
|
||||||
throw_bomb.reset();
|
throw_bomb.reset();
|
||||||
}
|
}
|
||||||
|
if (msg.has_sand_table_target_pos()) {
|
||||||
|
if (!sand_table_target_pos) {
|
||||||
|
sand_table_target_pos = std::make_shared<glm::vec3>();
|
||||||
|
}
|
||||||
|
TypeConvert::FromPb(*sand_table_target_pos, &msg.sand_table_target_pos());
|
||||||
|
} else {
|
||||||
|
sand_table_target_pos = nullptr;
|
||||||
|
}
|
||||||
last_cmmove_frameno = room->GetFrameNo();
|
last_cmmove_frameno = room->GetFrameNo();
|
||||||
trace_target_uniid = msg.trace_target_uniid();
|
trace_target_uniid = msg.trace_target_uniid();
|
||||||
#ifdef DEBUG1
|
#ifdef DEBUG1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user