mirror of
https://github.com/vcmi/vcmi.git
synced 2025-09-16 09:26:28 +02:00
Remove access to text translation system from AI
This commit is contained in:
@@ -31,7 +31,7 @@ namespace Goals
|
||||
{
|
||||
objid = obj->id.getNum();
|
||||
tile = obj->visitablePos();
|
||||
name = obj->getObjectName();
|
||||
name = obj->typeName;
|
||||
}
|
||||
|
||||
bool operator==(const CaptureObject & other) const override;
|
||||
|
@@ -26,7 +26,7 @@ ExecuteHeroChain::ExecuteHeroChain(const AIPath & path, const CGObjectInstance *
|
||||
if(obj)
|
||||
{
|
||||
objid = obj->id.getNum();
|
||||
targetName = obj->getObjectName() + tile.toString();
|
||||
targetName = obj->typeName + tile.toString();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user