feat: 按照review修改

This commit is contained in:
Lancarus
2023-10-07 18:40:25 +08:00
parent 06eae3e06a
commit dcbe55e44c

View File

@@ -384,7 +384,7 @@ bool asst::BattleProcessTask::check_in_battle(const cv::Mat& reusable, bool weak
{
LogTraceFunction;
cv::Mat image = reusable;
cv::Mat image = reusable.empty() ? ctrler()->get_image() : reusable;
if (weak) {
BattlefieldMatcher analyzer(image);