mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Fix: Morale bonus should be shown correctly
This commit is contained in:
@@ -990,7 +990,7 @@ void CArtifactInstance::deserializationFix()
|
||||
|
||||
SpellID CArtifactInstance::getGivenSpellID() const
|
||||
{
|
||||
const auto b = getBonusLocalFirst(Selector::type(Bonus::SPELL));
|
||||
const auto b = getBonusLocalFirst(Selector::type()(Bonus::SPELL));
|
||||
if(!b)
|
||||
{
|
||||
logMod->warn("Warning: %s doesn't bear any spell!", nodeName());
|
||||
|
||||
Reference in New Issue
Block a user