mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Minor fixes
This commit is contained in:
@@ -151,7 +151,7 @@ bool CHeroClass::isMagicHero() const
|
||||
|
||||
EAlignment CHeroClass::getAlignment() const
|
||||
{
|
||||
return VLC->factions()->getByIndex(faction)->getAlignment();
|
||||
return VLC->factions()->getById(faction)->getAlignment();
|
||||
}
|
||||
|
||||
int32_t CHeroClass::getIndex() const
|
||||
|
||||
Reference in New Issue
Block a user