use JsonKey or NameTranslated instead of ambiguos Name

This commit is contained in:
Ivan Savenko committed 2023-01-10 00:01:35 +02:00
1 parent 009705e794
commit f51b3bca57
14 files changed
+35 -35

No files matched your search

+1 -1
View File
@@ -213,7 +213,7 @@ void CGObjectInstance::setType(si32 ID, si32 subID)
}
else
{
logGlobal->warn("Object %d:%d at %s has no templates suitable for terrain %s", ID, subID, visitablePos().toString(), tile.terType->getName());
logGlobal->warn("Object %d:%d at %s has no templates suitable for terrain %s", ID, subID, visitablePos().toString(), tile.terType->getNameTranslated());
appearance = handler->getTemplates()[0]; // get at least some appearance since alternative is crash
}