mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Renamed LibClasses * VLC to GameLibrary * LIBRARY
This commit is contained in:
@@ -116,7 +116,7 @@ void Rewardable::Reward::loadComponents(std::vector<Component> & comps, const CG
|
||||
|
||||
for(const auto & entry : spells)
|
||||
{
|
||||
bool learnable = !h || h->canLearnSpell(entry.toEntity(VLC), true);
|
||||
bool learnable = !h || h->canLearnSpell(entry.toEntity(LIBRARY), true);
|
||||
comps.emplace_back(ComponentType::SPELL, entry, learnable ? 0 : -1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user