mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-28 03:57:02 +02:00
Promote no AI value message to error, shouldn't happen without mods
This commit is contained in:
parent
8ec558a2ae
commit
3e6cdb28bc
@ -382,7 +382,7 @@ float VisitObjEngine::evaluate(Goals::VisitObj & goal)
|
||||
else
|
||||
{
|
||||
MapObjectsEvaluator::getInstance().addObjectData(obj->ID, obj->subID, 0);
|
||||
logGlobal->warn("AI met object type it doesn't know - ID: " + std::to_string(obj->ID) + ", subID: " + std::to_string(obj->subID) + " - adding to database with value " + std::to_string(objValue));
|
||||
logGlobal->error("AI met object type it doesn't know - ID: " + std::to_string(obj->ID) + ", subID: " + std::to_string(obj->subID) + " - adding to database with value " + std::to_string(objValue));
|
||||
}
|
||||
|
||||
setSharedFuzzyVariables(goal);
|
||||
|
Loading…
x
Reference in New Issue
Block a user