feat: upgraded debug print to warning
This commit is contained in:
parent
1c2522d2ea
commit
42dde85dd7
|
@ -98,7 +98,7 @@ bool TakeCover::procedural_is_possible(goap::ActorWorldState *context) const {
|
||||||
for(NavMarker *marker : room->get_markers())
|
for(NavMarker *marker : room->get_markers())
|
||||||
if(TakeCover::is_marker_cover_from(marker, target_position, context_position))
|
if(TakeCover::is_marker_cover_from(marker, target_position, context_position))
|
||||||
return true;
|
return true;
|
||||||
gd::UtilityFunctions::print("!!! no cover marker found for ", context->get_path());
|
gd::UtilityFunctions::push_warning("no cover marker found for ", context->get_path());
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue