mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-13 23:57:41 +02:00
All heroes-related strings are passed through translator
This commit is contained in:
@@ -123,7 +123,7 @@ bool CHeroInstanceConstructor::objectFilter(const CGObjectInstance * object, std
|
||||
|
||||
auto heroTest = [&](const HeroTypeID & id)
|
||||
{
|
||||
return hero->type->ID == id;
|
||||
return hero->type->getId() == id;
|
||||
};
|
||||
|
||||
if(filters.count(templ->stringID))
|
||||
|
||||
Reference in New Issue
Block a user