This commit is contained in:
aozhiwei 2023-11-01 18:58:43 +08:00
parent a9fff581a3
commit e853c444f0

View File

@ -703,8 +703,9 @@ behaviac::EBTStatus HeroAgent::CoMoveForward(int min_val, int max_val)
behaviac::EBTStatus HeroAgent::DebugOut(std::string msg, int arg0, int arg1, int arg2) behaviac::EBTStatus HeroAgent::DebugOut(std::string msg, int arg0, int arg1, int arg2)
{ {
#ifdef DEBUG1 #ifdef DEBUG
a8::XPrintf((msg+"\n").c_str(), {arg0, arg1, arg2}); //a8::XPrintf((msg+"\n").c_str(), {arg0, arg1, arg2});
std::string data = a8::Format(msg.c_str(),{arg0, arg1, arg2} );
#endif #endif
return behaviac::BT_SUCCESS; return behaviac::BT_SUCCESS;
} }