1
This commit is contained in:
parent
41e52be85c
commit
50296ae654
@ -29,7 +29,7 @@ void Player::_CMExecCommand(f8::MsgHdr& hdr, const cs::CMExecCommand& msg)
|
||||
}
|
||||
std::string cmd = cmds[0];
|
||||
if (cmd == "gps") {
|
||||
SendDebugMsg(a8::Format("%d %d", {GetPos().GetX(), GetPos().GetY()}));
|
||||
SendDebugMsg(a8::Format("gps: %f,%f,%f", {GetPos().GetX(), GetPos().GetY(), GetPos().GetZ()}));
|
||||
} else if (cmd == "setmode") {
|
||||
if (cmds.empty()) {
|
||||
App::Instance()->UnSetFlag(20);
|
||||
|
Loading…
x
Reference in New Issue
Block a user